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
cc6d110e
Commit
cc6d110e
authored
May 17, 2010
by
Alexander Nozdrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow-up patch for Bug#27863 (excessive memory usage for many small queries
in a multiquery packet): fix NDB test failures.
parent
6facd4cb
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 @
cc6d110e
...
...
@@ -263,7 +263,6 @@ static void run_query(THD *thd, char *buf, char *end,
ulonglong
save_thd_options
=
thd
->
variables
.
option_bits
;
DBUG_ASSERT
(
sizeof
(
save_thd_options
)
==
sizeof
(
thd
->
variables
.
option_bits
));
NET
save_thd_net
=
thd
->
net
;
Parser_state
parser_state
(
thd
,
thd
->
query
(),
thd
->
query_length
());
bzero
((
char
*
)
&
thd
->
net
,
sizeof
(
NET
));
thd
->
set_query
(
buf
,
(
uint
)
(
end
-
buf
));
...
...
@@ -277,7 +276,10 @@ static void run_query(THD *thd, char *buf, char *end,
DBUG_ASSERT
(
!
thd
->
in_sub_stmt
);
DBUG_ASSERT
(
!
thd
->
locked_tables_mode
);
{
Parser_state
parser_state
(
thd
,
thd
->
query
(),
thd
->
query_length
());
mysql_parse
(
thd
,
thd
->
query
(),
thd
->
query_length
(),
&
parser_state
);
}
if
(
no_print_error
&&
thd
->
is_slave_error
)
{
...
...
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