mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge from maria/5.5 (-rtag:mariadb-5.5.36).
This commit is contained in:
@ -1087,9 +1087,10 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
|
||||
DEBUG_SYNC(thd,"dispatch_command_before_set_time");
|
||||
|
||||
thd->set_time();
|
||||
thd->set_query_id(get_query_id());
|
||||
if (!(server_command_flags[command] & CF_SKIP_QUERY_ID))
|
||||
next_query_id();
|
||||
if (server_command_flags[command] & CF_SKIP_QUERY_ID)
|
||||
thd->set_query_id(get_query_id());
|
||||
else
|
||||
thd->set_query_id(next_query_id());
|
||||
inc_thread_running();
|
||||
|
||||
if (!(server_command_flags[command] & CF_SKIP_QUESTIONS))
|
||||
|
Reference in New Issue
Block a user