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
18d7ed65
Commit
18d7ed65
authored
Apr 25, 2007
by
malff/marcsql@weblab.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge weblab.(none):/home/marcsql/TREE/mysql-5.0-runtime
into weblab.(none):/home/marcsql/TREE/mysql-5.1-25411_merge
parents
7855ae51
10dd9970
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
sql/item_func.cc
sql/item_func.cc
+1
-1
sql/log_event.cc
sql/log_event.cc
+6
-3
No files found.
sql/item_func.cc
View file @
18d7ed65
...
...
@@ -4266,7 +4266,7 @@ int get_var_with_binlog(THD *thd, enum_sql_command sql_command,
List
<
set_var_base
>
tmp_var_list
;
LEX
*
sav_lex
=
thd
->
lex
,
lex_tmp
;
thd
->
lex
=
&
lex_tmp
;
lex_start
(
thd
,
NULL
,
0
);
lex_start
(
thd
);
tmp_var_list
.
push_back
(
new
set_var_user
(
new
Item_func_set_user_var
(
name
,
new
Item_null
())));
/* Create the variable */
...
...
sql/log_event.cc
View file @
18d7ed65
...
...
@@ -2053,7 +2053,8 @@ int Query_log_event::do_apply_event(RELAY_LOG_INFO const *rli,
thd
->
variables
.
collation_database
=
thd
->
db_charset
;
/* Execute the query (note that we bypass dispatch_command()) */
mysql_parse
(
thd
,
thd
->
query
,
thd
->
query_length
);
const
char
*
found_semicolon
=
NULL
;
mysql_parse
(
thd
,
thd
->
query
,
thd
->
query_length
,
&
found_semicolon
);
}
else
...
...
@@ -3224,10 +3225,12 @@ int Load_log_event::do_apply_event(NET* net, RELAY_LOG_INFO const *rli,
/* see Query_log_event::do_apply_event() and BUG#13360 */
DBUG_ASSERT
(
!
rli
->
m_table_map
.
count
());
/*
Usually
mysql_init_query
() is called by mysql_parse(), but we need it here
Usually
lex_start
() is called by mysql_parse(), but we need it here
as the present method does not call mysql_parse().
*/
mysql_init_query
(
thd
,
0
,
0
);
lex_start
(
thd
);
mysql_reset_thd_for_next_command
(
thd
);
if
(
!
use_rli_only_for_errors
)
{
/*
...
...
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