summaryrefslogtreecommitdiff
path: root/sql/protocol.cc
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.(none)>2007-10-15 15:45:20 +0400
committerunknown <kostja@bodhi.(none)>2007-10-15 15:45:20 +0400
commitc969f78b7c4c82c75ce8bfa033df4159cfa94e33 (patch)
tree6de0ae1e42e29f43df935bfbeacd4ba6073cd91d /sql/protocol.cc
parentde8a96160467b71013858b84fc95afd4fd9ac10c (diff)
downloadmariadb-git-c969f78b7c4c82c75ce8bfa033df4159cfa94e33.tar.gz
Remove an unused variable that was there since the first implementation
of the stored procedure cursors (materialized on disk). include/mysql_com.h: Remove an unused variable. sql/protocol.cc: net->no_send_eof was not used anywhere.
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 2ed241c4c98..9d473912ba3 100644
--- a/sql/protocol.cc
+++ b/sql/protocol.cc
@@ -346,7 +346,7 @@ send_eof(THD *thd)
{
NET *net= &thd->net;
DBUG_ENTER("send_eof");
- if (net->vio != 0 && !net->no_send_eof)
+ if (net->vio != 0)
{
write_eof_packet(thd, net);
VOID(net_flush(net));