mirror of
https://github.com/MariaDB/server.git
synced 2026-04-25 09:45:31 +02:00
spurious binlog error code logging on temp table auto-drop fixed
added a new replication test sql/sql_base.cc: f
This commit is contained in:
parent
32113efe2a
commit
40a7f1d30a
3 changed files with 26 additions and 0 deletions
|
|
@ -546,6 +546,7 @@ void close_temporary_tables(THD *thd)
|
|||
*--end = 0; // Remove last ','
|
||||
thd->query_length = (uint)(end-query);
|
||||
Query_log_event qinfo(thd, query);
|
||||
qinfo.error_code=0;
|
||||
mysql_bin_log.write(&qinfo);
|
||||
thd->query_length = save_query_len;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue