mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
indentation cleanup
This commit is contained in:
@@ -3518,29 +3518,29 @@ purposes internal to the MySQL server", MYF(0));
|
|||||||
}
|
}
|
||||||
thd->proc_info="query end"; // QQ
|
thd->proc_info="query end"; // QQ
|
||||||
if (thd->one_shot_set)
|
if (thd->one_shot_set)
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
If this is a SET, do nothing. This is to allow mysqlbinlog to print
|
||||||
|
many SET commands (in this case we want the charset temp setting to
|
||||||
|
live until the real query). This is also needed so that SET
|
||||||
|
CHARACTER_SET_CLIENT... does not cancel itself immediately.
|
||||||
|
*/
|
||||||
|
if (lex->sql_command != SQLCOM_SET_OPTION)
|
||||||
{
|
{
|
||||||
/*
|
thd->variables.character_set_client=
|
||||||
If this is a SET, do nothing. This is to allow mysqlbinlog to print
|
global_system_variables.character_set_client;
|
||||||
many SET commands (in this case we want the charset temp setting to
|
thd->variables.collation_connection=
|
||||||
live until the real query). This is also needed so that SET
|
global_system_variables.collation_connection;
|
||||||
CHARACTER_SET_CLIENT... does not cancel itself immediately.
|
thd->variables.collation_database=
|
||||||
*/
|
global_system_variables.collation_database;
|
||||||
if (lex->sql_command != SQLCOM_SET_OPTION)
|
thd->variables.collation_server=
|
||||||
{
|
global_system_variables.collation_server;
|
||||||
thd->variables.character_set_client=
|
thd->update_charset();
|
||||||
global_system_variables.character_set_client;
|
thd->variables.time_zone=
|
||||||
thd->variables.collation_connection=
|
global_system_variables.time_zone;
|
||||||
global_system_variables.collation_connection;
|
thd->one_shot_set= 0;
|
||||||
thd->variables.collation_database=
|
|
||||||
global_system_variables.collation_database;
|
|
||||||
thd->variables.collation_server=
|
|
||||||
global_system_variables.collation_server;
|
|
||||||
thd->update_charset();
|
|
||||||
thd->variables.time_zone=
|
|
||||||
global_system_variables.time_zone;
|
|
||||||
thd->one_shot_set= 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (res < 0)
|
if (res < 0)
|
||||||
send_error(thd,thd->killed ? ER_SERVER_SHUTDOWN : 0);
|
send_error(thd,thd->killed ? ER_SERVER_SHUTDOWN : 0);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user