diff options
author | unknown <venu@myvenu.com> | 2003-01-31 00:35:06 -0800 |
---|---|---|
committer | unknown <venu@myvenu.com> | 2003-01-31 00:35:06 -0800 |
commit | ae4a9ea8ccc815f1985786954f7d959e595d4e42 (patch) | |
tree | 6c82793c8c51847adbe97016b7fc55c7f623dabc /sql | |
parent | fccbabe0896493d9b7b5497fc12019ac13b77976 (diff) | |
download | mariadb-git-ae4a9ea8ccc815f1985786954f7d959e595d4e42.tar.gz |
Fix for subsequent error calls in multi-query
sql/sql_parse.cc:
Fix for subsequent errors calls in multi-query
tests/client_test.c:
Misc cleanups
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_parse.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 9f77ae5f1f5..1270aa81927 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -1225,6 +1225,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd, } thd->query_length= length; thd->query= packet; + thd->net.last_error[0]= '\0'; VOID(pthread_mutex_lock(&LOCK_thread_count)); thd->query_id= query_id++; VOID(pthread_mutex_unlock(&LOCK_thread_count)); |