1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-9058: protocol: COM_MULTI command (part 2)

simple COM_MULTI support (no prepared statements chain yet).
This commit is contained in:
Oleksandr Byelkin
2016-01-05 20:44:45 +01:00
parent e5377457d8
commit fd1b7d0f59
9 changed files with 217 additions and 40 deletions

View File

@@ -4429,7 +4429,8 @@ int Query_log_event::do_apply_event(rpl_group_info *rgi,
thd->m_digest->reset(thd->m_token_array, max_digest_length);
thd->enable_slow_log= thd->variables.sql_log_slow;
mysql_parse(thd, thd->query(), thd->query_length(), &parser_state);
mysql_parse(thd, thd->query(), thd->query_length(), &parser_state,
FALSE);
/* Finalize server status flags after executing a statement. */
thd->update_server_status();
log_slow_statement(thd);