Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
fe46b09e
Commit
fe46b09e
authored
Dec 11, 2007
by
tomas@whalegate.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove memleak cased by dynamic variables being lost
parent
ddc2ee65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/ha_ndbcluster_binlog.cc
sql/ha_ndbcluster_binlog.cc
+2
-2
No files found.
sql/ha_ndbcluster_binlog.cc
View file @
fe46b09e
...
@@ -243,7 +243,7 @@ static void run_query(THD *thd, char *buf, char *end,
...
@@ -243,7 +243,7 @@ static void run_query(THD *thd, char *buf, char *end,
{
{
ulong
save_thd_query_length
=
thd
->
query_length
;
ulong
save_thd_query_length
=
thd
->
query_length
;
char
*
save_thd_query
=
thd
->
query
;
char
*
save_thd_query
=
thd
->
query
;
struct
system_variables
save_thd_variables
=
thd
->
variables
;
ulong
save_thread_id
=
thd
->
variables
.
pseudo_thread_id
;
struct
system_status_var
save_thd_status_var
=
thd
->
status_var
;
struct
system_status_var
save_thd_status_var
=
thd
->
status_var
;
THD_TRANS
save_thd_transaction_all
=
thd
->
transaction
.
all
;
THD_TRANS
save_thd_transaction_all
=
thd
->
transaction
.
all
;
THD_TRANS
save_thd_transaction_stmt
=
thd
->
transaction
.
stmt
;
THD_TRANS
save_thd_transaction_stmt
=
thd
->
transaction
.
stmt
;
...
@@ -281,7 +281,7 @@ static void run_query(THD *thd, char *buf, char *end,
...
@@ -281,7 +281,7 @@ static void run_query(THD *thd, char *buf, char *end,
thd
->
options
=
save_thd_options
;
thd
->
options
=
save_thd_options
;
thd
->
query_length
=
save_thd_query_length
;
thd
->
query_length
=
save_thd_query_length
;
thd
->
query
=
save_thd_query
;
thd
->
query
=
save_thd_query
;
thd
->
variables
=
save_thd_variables
;
thd
->
variables
.
pseudo_thread_id
=
save_thread_id
;
thd
->
status_var
=
save_thd_status_var
;
thd
->
status_var
=
save_thd_status_var
;
thd
->
transaction
.
all
=
save_thd_transaction_all
;
thd
->
transaction
.
all
=
save_thd_transaction_all
;
thd
->
transaction
.
stmt
=
save_thd_transaction_stmt
;
thd
->
transaction
.
stmt
=
save_thd_transaction_stmt
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment