1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00
This commit is contained in:
hf@deer.(none)
2003-09-29 21:07:51 +05:00
parent e9d7b859e4
commit 6d3d37c6f8
2 changed files with 4 additions and 2 deletions

View File

@ -91,6 +91,8 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
memcpy(net->last_error, thd->net.last_error, sizeof(net->last_error));
memcpy(net->sqlstate, thd->net.sqlstate, sizeof(net->sqlstate));
}
else
net->last_error[0]= 0;
mysql->warning_count= ((THD*)mysql->thd)->total_warn_count;
return result;
}