Commit da81724a authored by unknown's avatar unknown

Merge bk-internal.mysql.com:/home/bk/mysql-4.1

into mysql.com:/home/kostja/mysql/mysql-4.1-root

parents 74b81a80 c4d0631b
...@@ -123,7 +123,7 @@ void send_error(THD *thd, uint sql_errno, const char *err) ...@@ -123,7 +123,7 @@ void send_error(THD *thd, uint sql_errno, const char *err)
/* Abort multi-result sets */ /* Abort multi-result sets */
thd->lex->found_colon= 0; thd->lex->found_colon= 0;
thd->server_status= ~SERVER_MORE_RESULTS_EXISTS; thd->server_status&= ~SERVER_MORE_RESULTS_EXISTS;
DBUG_VOID_RETURN; DBUG_VOID_RETURN;
} }
...@@ -356,7 +356,7 @@ send_eof(THD *thd, bool no_flush) ...@@ -356,7 +356,7 @@ send_eof(THD *thd, bool no_flush)
other queries (see the if test in dispatch_command / COM_QUERY) other queries (see the if test in dispatch_command / COM_QUERY)
*/ */
if (thd->is_fatal_error) if (thd->is_fatal_error)
thd->server_status= ~SERVER_MORE_RESULTS_EXISTS; thd->server_status&= ~SERVER_MORE_RESULTS_EXISTS;
int2store(buff+3, thd->server_status); int2store(buff+3, thd->server_status);
VOID(my_net_write(net,(char*) buff,5)); VOID(my_net_write(net,(char*) buff,5));
VOID(net_flush(net)); VOID(net_flush(net));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment