diff options
author | unknown <bell@sanja.is.com.ua> | 2005-01-20 10:41:37 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2005-01-20 10:41:37 +0200 |
commit | 7a528488915786f56ab48e2995fae18cc9731d1a (patch) | |
tree | 688e14daabde23993878846e8b67af1f4d180abf /include/mysql_com.h | |
parent | 06284149809d85e347af94a8ba2568d0ba5c0e2d (diff) | |
download | mariadb-git-7a528488915786f56ab48e2995fae18cc9731d1a.tar.gz |
Fixed problem of sending ERROR to client after OK or EOF (BUG#6804)
include/mysql_com.h:
Flag which prevent sending error after EOF or OK sent
mysql-test/r/kill.result:
test of blocking of sending ERROR after OK or EOF
mysql-test/t/kill.test:
test of blocking of sending ERROR after OK or EOF
sql/item_func.cc:
typo fixed
sql/net_serv.cc:
initialization of flag
sql/protocol.cc:
check and set of flag no_send_error
sql/sql_parse.cc:
droping flag no_send_error before new command/query execution
Diffstat (limited to 'include/mysql_com.h')
-rw-r--r-- | include/mysql_com.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h index 59b2ee743ec..78d71bde1cf 100644 --- a/include/mysql_com.h +++ b/include/mysql_com.h @@ -188,6 +188,11 @@ typedef struct st_net { my_bool no_send_ok; /* For SPs and other things that do multiple stmts */ my_bool no_send_eof; /* For SPs' first version read-only cursors */ /* + Set if OK packet is already sent, and we do not need to send error + messages + */ + my_bool no_send_error; + /* Pointer to query object in query cache, do not equal NULL (0) for queries in cache that have not stored its results yet */ |