mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Fix for #2209
mysql->server_status wasn't set after the query libmysqld/lib_sql.cc: Server status assignement added
This commit is contained in:
parent
c6ca96ade9
commit
2746e7de02
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
|
|||
net->last_error[0]= 0;
|
||||
strmov(net->sqlstate, not_error_sqlstate);
|
||||
}
|
||||
mysql->server_status= thd->server_status;
|
||||
mysql->warning_count= ((THD*)mysql->thd)->total_warn_count;
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue