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
bfc80ede
Commit
bfc80ede
authored
Nov 05, 2007
by
tomas@whalegate.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
preserve more of the state
parent
2635cb0a
Changes
1
Hide 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 @
bfc80ede
...
@@ -243,7 +243,8 @@ static void run_query(THD *thd, char *buf, char *end,
...
@@ -243,7 +243,8 @@ static void run_query(THD *thd, char *buf, char *end,
{
{
ulong
save_query_length
=
thd
->
query_length
;
ulong
save_query_length
=
thd
->
query_length
;
char
*
save_query
=
thd
->
query
;
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
;
ulonglong
save_thd_options
=
thd
->
options
;
DBUG_ASSERT
(
sizeof
(
save_thd_options
)
==
sizeof
(
thd
->
options
));
DBUG_ASSERT
(
sizeof
(
save_thd_options
)
==
sizeof
(
thd
->
options
));
NET
save_net
=
thd
->
net
;
NET
save_net
=
thd
->
net
;
...
@@ -277,7 +278,8 @@ static void run_query(THD *thd, char *buf, char *end,
...
@@ -277,7 +278,8 @@ static void run_query(THD *thd, char *buf, char *end,
thd
->
options
=
save_thd_options
;
thd
->
options
=
save_thd_options
;
thd
->
query_length
=
save_query_length
;
thd
->
query_length
=
save_query_length
;
thd
->
query
=
save_query
;
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
;
thd
->
net
=
save_net
;
if
(
thd
==
injector_thd
)
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