1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Rename: query_error -> is_slave_error.

Add comments.
This commit is contained in:
kostja@bodhi.(none)
2007-10-20 01:20:38 +04:00
parent edec79d60a
commit 7c00f8a3b4
12 changed files with 63 additions and 50 deletions

View File

@@ -1030,7 +1030,7 @@ static void prepare_new_connection_state(THD* thd)
if (sys_init_connect.value_length && !(sctx->master_access & SUPER_ACL))
{
execute_init_command(thd, &sys_init_connect, &LOCK_sys_init_connect);
if (thd->query_error)
if (thd->net.report_error)
{
thd->killed= THD::KILL_CONNECTION;
sql_print_warning(ER(ER_NEW_ABORTING_CONNECTION),