Browse Source

Remove an unused variable that was there since the first implementation

of the stored procedure cursors (materialized on disk).
pull/73/head
kostja@bodhi.(none) 18 years ago
parent
commit
227e13c4ca
  1. 2
      include/mysql_com.h
  2. 2
      sql/protocol.cc

2
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

2
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));

Loading…
Cancel
Save