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
ac7e0c85
Commit
ac7e0c85
authored
Nov 05, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
preserve more of the state
parent
17a8a0b0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
sql/ha_ndbcluster_binlog.cc
sql/ha_ndbcluster_binlog.cc
+4
-2
No files found.
sql/ha_ndbcluster_binlog.cc
View file @
ac7e0c85
...
...
@@ -243,7 +243,8 @@ static void run_query(THD *thd, char *buf, char *end,
{
ulong
save_query_length
=
thd
->
query_length
;
char
*
save_query
=
thd
->
query
;
ulong
save_thread_id
=
thd
->
variables
.
pseudo_thread_id
;
struct
system_variables
save_variables
=
thd
->
variables
;
struct
system_status_var
save_status_var
=
thd
->
status_var
;
ulonglong
save_thd_options
=
thd
->
options
;
DBUG_ASSERT
(
sizeof
(
save_thd_options
)
==
sizeof
(
thd
->
options
));
NET
save_net
=
thd
->
net
;
...
...
@@ -277,7 +278,8 @@ static void run_query(THD *thd, char *buf, char *end,
thd
->
options
=
save_thd_options
;
thd
->
query_length
=
save_query_length
;
thd
->
query
=
save_query
;
thd
->
variables
.
pseudo_thread_id
=
save_thread_id
;
thd
->
variables
=
save_variables
;
thd
->
status_var
=
save_status_var
;
thd
->
net
=
save_net
;
if
(
thd
==
injector_thd
)
...
...
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