1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00
client code added to the embedded library
some fixes
This commit is contained in:
hf@deer.(none)
2003-06-19 16:38:21 +05:00
parent ece1a581f4
commit 1374a58cf3
4 changed files with 5 additions and 44 deletions

View File

@ -74,7 +74,8 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
result= thd->net.last_errno ? -1 : 0;
mysql->last_error= thd->net.last_error;
mysql->last_errno= thd->net.last_errno;
mysql->net.last_errno= thd->net.last_errno;
mysql->warning_count= ((THD*)mysql->thd)->total_warn_count;
return result;
}