summaryrefslogtreecommitdiff
path: root/sql/protocol.cc
diff options
context:
space:
mode:
authorpem@mysql.com <>2003-04-29 12:06:04 +0200
committerpem@mysql.com <>2003-04-29 12:06:04 +0200
commit35c82164f621f1dbf885e328ef330917aa475ad2 (patch)
treee70f4a2723bc6ab9c1789b31d7c45773f2233bf4 /sql/protocol.cc
parent7f51b1d3e45b05fe310077217a3a5ef6be782c6e (diff)
parent6c85c6aa6afa24af80dbbe8f320fbbe9f5f4faa9 (diff)
downloadmariadb-git-35c82164f621f1dbf885e328ef330917aa475ad2.tar.gz
Merged 4.1 to 5.0.
Diffstat (limited to 'sql/protocol.cc')
-rw-r--r--sql/protocol.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/protocol.cc b/sql/protocol.cc
index d00ecb5dbc4..50577463c4c 100644
--- a/sql/protocol.cc
+++ b/sql/protocol.cc
@@ -360,7 +360,7 @@ send_eof(THD *thd, bool no_flush)
uint tmp= min(thd->total_warn_count, 65535);
buff[0]=254;
int2store(buff+1, tmp);
- int2store(buff+3, 0); // No flags yet
+ int2store(buff+3, thd->server_status);
VOID(my_net_write(net,(char*) buff,5));
VOID(net_flush(net));
}