summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkostja@bodhi.(none) <>2007-10-15 15:45:20 +0400
committerkostja@bodhi.(none) <>2007-10-15 15:45:20 +0400
commit227e13c4ca728c20c860ce89dfc8b446d1b89bc2 (patch)
tree6de0ae1e42e29f43df935bfbeacd4ba6073cd91d
parent0dce64d6357a5b2348283ec2f785992def587342 (diff)
downloadmariadb-git-227e13c4ca728c20c860ce89dfc8b446d1b89bc2.tar.gz
Remove an unused variable that was there since the first implementation
of the stored procedure cursors (materialized on disk).
-rw-r--r--include/mysql_com.h2
-rw-r--r--sql/protocol.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h
index 5850d48fbf5..f76486b9ec2 100644
--- a/include/mysql_com.h
+++ b/include/mysql_com.h
@@ -203,7 +203,7 @@ typedef struct st_net {
unsigned char reading_or_writing;
char save_char;
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 */
+ my_bool unused; /* Please remove with the next incompatible ABI change */
my_bool compress;
/*
Set if OK packet is already sent, and we do not need to send error
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));