mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 00:24:30 +02:00
Merge MariaDB 5.2.5 release into MariaDB-5.2-rpl.
This commit is contained in:
commit
c677fea7d0
1686 changed files with 31519 additions and 45431 deletions
|
|
@ -50,6 +50,13 @@ void mysql_client_binlog_statement(THD* thd)
|
|||
}
|
||||
size_t decoded_len= base64_needed_decoded_length(coded_len);
|
||||
|
||||
/*
|
||||
thd->options will be changed when applying the event. But we don't expect
|
||||
it be changed permanently after BINLOG statement, so backup it first.
|
||||
It will be restored at the end of this function.
|
||||
*/
|
||||
ulonglong thd_options= thd->options;
|
||||
|
||||
/*
|
||||
Allocation
|
||||
*/
|
||||
|
|
@ -236,6 +243,7 @@ void mysql_client_binlog_statement(THD* thd)
|
|||
my_ok(thd);
|
||||
|
||||
end:
|
||||
thd->options= thd_options;
|
||||
rli->clear_tables_to_lock();
|
||||
my_free(buf, MYF(MY_ALLOW_ZERO_PTR));
|
||||
DBUG_VOID_RETURN;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue