mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Faster log::write() call, memory leak fix, flush master fix.
This commit is contained in:
@ -87,9 +87,12 @@ end:
|
||||
}
|
||||
if (!error)
|
||||
{
|
||||
mysql_update_log.write(thd->query,thd->query_length);
|
||||
Query_log_event qinfo(thd, thd->query);
|
||||
mysql_bin_log.write(&qinfo);
|
||||
mysql_update_log.write(thd,thd->query,thd->query_length);
|
||||
if (mysql_bin_log.is_open())
|
||||
{
|
||||
Query_log_event qinfo(thd, thd->query);
|
||||
mysql_bin_log.write(&qinfo);
|
||||
}
|
||||
send_ok(&thd->net);
|
||||
}
|
||||
for (TABLE_LIST *table=table_list ; table != lock_table ; table=table->next)
|
||||
|
Reference in New Issue
Block a user