Below is the list of changes that have just been committed into a local
5.1 repository of kostja. When kostja does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2007-10-15 15:45:20+04:00, kostja@bodhi.(none) +2 -0
Remove an unused variable that was there since the first implementation
of the stored procedure cursors (materialized on disk).
include/mysql_com.h@stripped, 2007-10-15 15:45:15+04:00, kostja@bodhi.(none) +1 -1
Remove an unused variable.
sql/protocol.cc@stripped, 2007-10-15 15:45:16+04:00, kostja@bodhi.(none) +1 -1
net->no_send_eof was not used anywhere.
diff -Nrup a/include/mysql_com.h b/include/mysql_com.h
--- a/include/mysql_com.h 2007-07-30 07:22:15 +04:00
+++ b/include/mysql_com.h 2007-10-15 15:45:15 +04:00
@@ -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 -Nrup a/sql/protocol.cc b/sql/protocol.cc
--- a/sql/protocol.cc 2007-05-24 02:39:21 +04:00
+++ b/sql/protocol.cc 2007-10-15 15:45:16 +04:00
@@ -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));
| Thread |
|---|
| • bk commit into 5.1 tree (kostja:1.2597) | konstantin | 15 Oct |