mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
SCRUM
client code added to the embedded library some fixes include/mysql.h: test code removed simple_command is the macrodefinition now libmysqld/embedded_priv.h: this declaration obsolete libmysqld/lib_sql.cc: errors stored in the same place for embedded and client libraries now sql-common/client.c: we don't need that ugly wrapper
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user