diff options
author | unknown <hf@deer.(none)> | 2004-01-27 16:51:11 +0400 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2004-01-27 16:51:11 +0400 |
commit | 2746e7de02698856d6b19bb526cd104c2cd74163 (patch) | |
tree | 54026db087bcb9d667ff7aa9d4a1b10a7ebfa63d /libmysqld | |
parent | c6ca96ade99be1827ea17a46cdb5c88e4632746c (diff) | |
download | mariadb-git-2746e7de02698856d6b19bb526cd104c2cd74163.tar.gz |
Fix for #2209
mysql->server_status wasn't set after the query
libmysqld/lib_sql.cc:
Server status assignement added
Diffstat (limited to 'libmysqld')
-rw-r--r-- | libmysqld/lib_sql.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc index 741916064b0..e36e878d4b1 100644 --- a/libmysqld/lib_sql.cc +++ b/libmysqld/lib_sql.cc @@ -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; } |