Below is the list of changes that have just been committed into a local
5.1 repository of hf. When hf 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, 2006-10-24 17:53:15+05:00, holyfoot@deer.(none) +3 -0
Merge mysql.com:/home/hf/work/current_stmt/my50-current_stmt
into mysql.com:/home/hf/work/current_stmt/my51-current_stmt
MERGE: 1.1810.2078.41
include/mysql.h@stripped, 2006-10-24 17:53:10+05:00, holyfoot@deer.(none) +0 -0
Auto merged
MERGE: 1.154.1.9
libmysqld/lib_sql.cc@stripped, 2006-10-24 17:53:10+05:00, holyfoot@deer.(none) +0 -0
Auto merged
MERGE: 1.107.1.8
sql/sql_class.h@stripped, 2006-10-24 17:53:10+05:00, holyfoot@deer.(none) +0 -0
Auto merged
MERGE: 1.230.1.76
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: holyfoot
# Host: deer.(none)
# Root: /home/hf/work/current_stmt/my51-current_stmt/RESYNC
--- 1.167/include/mysql.h 2006-10-24 17:53:23 +05:00
+++ 1.168/include/mysql.h 2006-10-24 17:53:23 +05:00
@@ -293,12 +293,6 @@ typedef struct st_mysql
/* needed for embedded server - no net buffer to store the 'info' */
char *info_buffer;
#endif
- /*
- In embedded server it points to the statement that is processed
- in the current query. We store some results directly in statement
- fields then.
- */
- struct st_mysql_stmt *current_stmt;
} MYSQL;
typedef struct st_mysql_res {
--- 1.322/sql/sql_class.h 2006-10-24 17:53:23 +05:00
+++ 1.323/sql/sql_class.h 2006-10-24 17:53:23 +05:00
@@ -833,6 +833,12 @@ public:
struct st_mysql_data **data_tail;
void clear_data_list();
struct st_mysql_data *alloc_new_dataset();
+ /*
+ In embedded server it points to the statement that is processed
+ in the current query. We store some results directly in statement
+ fields then.
+ */
+ struct st_mysql_stmt *current_stmt;
#endif
NET net; // client connection descriptor
MEM_ROOT warn_root; // For warnings and errors
--- 1.120/libmysqld/lib_sql.cc 2006-10-24 17:53:23 +05:00
+++ 1.121/libmysqld/lib_sql.cc 2006-10-24 17:53:23 +05:00
@@ -100,7 +100,7 @@ emb_advanced_command(MYSQL *mysql, enum
mysql->affected_rows= ~(my_ulonglong) 0;
mysql->field_count= 0;
net->last_errno= 0;
- mysql->current_stmt= stmt;
+ thd->current_stmt= stmt;
thd->store_globals(); // Fix if more than one connect
/*
| Thread |
|---|
| • bk commit into 5.1 tree (holyfoot:1.2321) | holyfoot | 24 Oct |