1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Remove an unused variable that was there since the first implementation

of the stored procedure cursors (materialized on disk).
This commit is contained in:
kostja@bodhi.(none)
2007-10-15 15:45:20 +04:00
parent 0dce64d635
commit 227e13c4ca
2 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ typedef struct st_net {
unsigned char reading_or_writing; unsigned char reading_or_writing;
char save_char; char save_char;
my_bool no_send_ok; /* For SPs and other things that do multiple stmts */ 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; my_bool compress;
/* /*
Set if OK packet is already sent, and we do not need to send error Set if OK packet is already sent, and we do not need to send error

View File

@ -346,7 +346,7 @@ send_eof(THD *thd)
{ {
NET *net= &thd->net; NET *net= &thd->net;
DBUG_ENTER("send_eof"); DBUG_ENTER("send_eof");
if (net->vio != 0 && !net->no_send_eof) if (net->vio != 0)
{ {
write_eof_packet(thd, net); write_eof_packet(thd, net);
VOID(net_flush(net)); VOID(net_flush(net));