We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 804fb40 commit ed99046Copy full SHA for ed99046
sql/mysqld.cc
@@ -555,7 +555,7 @@ ulong max_prepared_stmt_count;
555
statements.
556
*/
557
ulong prepared_stmt_count=0;
558
-my_thread_id global_thread_id= 0;
+my_thread_id global_thread_id= 1;
559
ulong current_pid;
560
ulong slow_launch_threads = 0;
561
uint sync_binlog_period= 0, sync_relaylog_period= 0,
@@ -8744,7 +8744,7 @@ static int mysql_init_variables(void)
8744
denied_connections= 0;
8745
executed_events= 0;
8746
global_query_id= 1;
8747
- global_thread_id= 0;
+ global_thread_id= 1;
8748
strnmov(server_version, MYSQL_SERVER_VERSION, sizeof(server_version)-1);
8749
threads.empty();
8750
thread_cache.empty();
0 commit comments