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

Minor cleanups, fix compiler warnings

This commit is contained in:
Monty
2014-08-03 15:12:10 +03:00
parent d87ffeb491
commit 3bde13932e
10 changed files with 25 additions and 19 deletions

View File

@@ -1355,8 +1355,8 @@ void THD::init(void)
mysql_mutex_lock(&LOCK_global_system_variables);
plugin_thdvar_init(this);
/*
variables= global_system_variables above has reset
variables.pseudo_thread_id to 0. We need to correct it here to
plugin_thd_var_init() sets variables= global_system_variables, which
has reset variables.pseudo_thread_id to 0. We need to correct it here to
avoid temporary tables replication failure.
*/
variables.pseudo_thread_id= thread_id;