summaryrefslogtreecommitdiff
path: root/sql/protocol.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2003-11-20 22:06:25 +0200
committermonty@mysql.com <>2003-11-20 22:06:25 +0200
commit7c6113a39f56832da982cfb4ff191e9db49ca798 (patch)
tree685b3a2a60fc00121d338cb0b5f84b4cd028bfe1 /sql/protocol.cc
parentba659679e7816cd9c992c866645f65b06e5f69de (diff)
downloadmariadb-git-7c6113a39f56832da982cfb4ff191e9db49ca798.tar.gz
Merge key cache structures to one
Fixed compiler warnings (IRIX C compiler and VC++)
Diffstat (limited to 'sql/protocol.cc')
-rw-r--r--sql/protocol.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/protocol.cc b/sql/protocol.cc
index 884569d334a..e1347ff3c6f 100644
--- a/sql/protocol.cc
+++ b/sql/protocol.cc
@@ -302,6 +302,8 @@ send_ok(THD *thd, ha_rows affected_rows, ulonglong id, const char *message)
pos=net_store_data((char*) pos, message, strlen(message));
VOID(my_net_write(net,buff,(uint) (pos-buff)));
VOID(net_flush(net));
+ /* We can't anymore send an error to the client */
+ thd->net.report_error= 0;
DBUG_VOID_RETURN;
}