1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00
This commit is contained in:
hf@deer.(none)
2003-10-06 17:06:05 +05:00
parent 8980fe218b
commit 6b0112549e

View File

@ -95,7 +95,10 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
memcpy(net->sqlstate, thd->net.sqlstate, sizeof(net->sqlstate));
}
else
{
net->last_error[0]= 0;
strmov(net->sqlstate, not_error_sqlstate);
}
mysql->warning_count= ((THD*)mysql->thd)->total_warn_count;
return result;
}