diff options
author | unknown <bell@sanja.is.com.ua> | 2002-11-04 00:56:25 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2002-11-04 00:56:25 +0200 |
commit | a4e64e252d16a6b7a140ae14ae24fd9d92c558c3 (patch) | |
tree | 60db038618444a420a7e4f19b4b7fc4c7840b7bb /sql/mini_client.cc | |
parent | 4358ac0c9f58ea8fa9e7fdb2374e81bdc144d93c (diff) | |
download | mariadb-git-a4e64e252d16a6b7a140ae14ae24fd9d92c558c3.tar.gz |
Fixed error handling bug
sql/sql_class.h:
new function for clean out error message
Diffstat (limited to 'sql/mini_client.cc')
-rw-r--r-- | sql/mini_client.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/mini_client.cc b/sql/mini_client.cc index d678e76c5ed..aa84a52eb0b 100644 --- a/sql/mini_client.cc +++ b/sql/mini_client.cc @@ -451,6 +451,7 @@ mc_simple_command(MYSQL *mysql,enum enum_server_command command, mysql->net.last_error[0]=0; mysql->net.last_errno=0; + mysql->net.report_error=0; mysql->info=0; mysql->affected_rows= ~(my_ulonglong) 0; net_clear(net); /* Clear receive buffer */ |