diff options
author | unknown <hf@deer.(none)> | 2003-06-19 16:38:21 +0500 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2003-06-19 16:38:21 +0500 |
commit | cc0904178b3972a7c9fba37bd98c9bbb576be1e9 (patch) | |
tree | 8faf883d9ceccc3d8cba7fe249e3965648ffe334 /libmysqld/lib_sql.cc | |
parent | 76ad2da59f2d66a85ea8f509108559ede271901c (diff) | |
download | mariadb-git-cc0904178b3972a7c9fba37bd98c9bbb576be1e9.tar.gz |
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
Diffstat (limited to 'libmysqld/lib_sql.cc')
-rw-r--r-- | libmysqld/lib_sql.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc index 6ba87d31268..73d5ca72654 100644 --- a/libmysqld/lib_sql.cc +++ b/libmysqld/lib_sql.cc @@ -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; } |