mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 15:15:34 +02:00
Fixed change_user and func_misc in embedded
First thread was getting id 0, while it is intended to get id 1.
This commit is contained in:
parent
804fb401ba
commit
ed99046577
1 changed files with 2 additions and 2 deletions
|
|
@ -555,7 +555,7 @@ ulong max_prepared_stmt_count;
|
||||||
statements.
|
statements.
|
||||||
*/
|
*/
|
||||||
ulong prepared_stmt_count=0;
|
ulong prepared_stmt_count=0;
|
||||||
my_thread_id global_thread_id= 0;
|
my_thread_id global_thread_id= 1;
|
||||||
ulong current_pid;
|
ulong current_pid;
|
||||||
ulong slow_launch_threads = 0;
|
ulong slow_launch_threads = 0;
|
||||||
uint sync_binlog_period= 0, sync_relaylog_period= 0,
|
uint sync_binlog_period= 0, sync_relaylog_period= 0,
|
||||||
|
|
@ -8744,7 +8744,7 @@ static int mysql_init_variables(void)
|
||||||
denied_connections= 0;
|
denied_connections= 0;
|
||||||
executed_events= 0;
|
executed_events= 0;
|
||||||
global_query_id= 1;
|
global_query_id= 1;
|
||||||
global_thread_id= 0;
|
global_thread_id= 1;
|
||||||
strnmov(server_version, MYSQL_SERVER_VERSION, sizeof(server_version)-1);
|
strnmov(server_version, MYSQL_SERVER_VERSION, sizeof(server_version)-1);
|
||||||
threads.empty();
|
threads.empty();
|
||||||
thread_cache.empty();
|
thread_cache.empty();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue