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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
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,
{
ulong
save_thd_query_length
=
thd
->
query_length
;
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
;
THD_TRANS
save_thd_transaction_all
=
thd
->
transaction
.
all
;
THD_TRANS
save_thd_transaction_stmt
=
thd
->
transaction
.
stmt
;
...
...
@@ -281,7 +281,7 @@ static void run_query(THD *thd, char *buf, char *end,
thd
->
options
=
save_thd_options
;
thd
->
query_length
=
save_thd_query_length
;
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
->
transaction
.
all
=
save_thd_transaction_all
;
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