diff options
author | unknown <holyfoot/hf@mysql.com/deer.(none)> | 2006-11-13 10:45:22 +0400 |
---|---|---|
committer | unknown <holyfoot/hf@mysql.com/deer.(none)> | 2006-11-13 10:45:22 +0400 |
commit | 002fefaba700b9939d9ee00f3a796534b30b51f3 (patch) | |
tree | 1e42eabf80f107ccb135f8a3caeb1e157d384926 /libmysqld | |
parent | f399d6566187d1b41b3308893730cc70e64062c8 (diff) | |
parent | 28f6e132996b90d1ce6407aee9f82952c35eb18e (diff) | |
download | mariadb-git-002fefaba700b9939d9ee00f3a796534b30b51f3.tar.gz |
Merge mysql.com:/home/hf/work/embt/my41-embt
into mysql.com:/home/hf/work/embt/my50-embt
sql/item_func.cc:
Auto merged
mysql-test/t/innodb.test:
merging
libmysqld/lib_sql.cc:
SCCS merged
Diffstat (limited to 'libmysqld')
-rwxr-xr-x | libmysqld/examples/test-run | 2 | ||||
-rw-r--r-- | libmysqld/lib_sql.cc | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libmysqld/examples/test-run b/libmysqld/examples/test-run index c7434488259..aea5b13eaba 100755 --- a/libmysqld/examples/test-run +++ b/libmysqld/examples/test-run @@ -10,7 +10,7 @@ top_builddir=../.. mysql_test_dir=$top_builddir/mysql-test examples=$top_builddir/libmysqld/examples -mysqltest=$examples/mysqltest +mysqltest=$examples/mysqltest_embedded datadir=$mysql_test_dir/var/master-data test_data_dir=test gdb=0 diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc index a88c0b135db..cfa90c2abce 100644 --- a/libmysqld/lib_sql.cc +++ b/libmysqld/lib_sql.cc @@ -584,6 +584,7 @@ void *create_embedded_thd(int client_flag) thd->set_time(); thd->init_for_queries(); thd->client_capabilities= client_flag; + thd->real_id= (pthread_t) thd; thd->db= NULL; thd->db_length= 0; @@ -1028,6 +1029,9 @@ void Protocol_simple::prepare_for_resend() MYSQL_DATA *data= thd->cur_data; DBUG_ENTER("send_data"); + if (!thd->mysql) // bootstrap file handling + DBUG_VOID_RETURN; + data->rows++; if (!(cur= (MYSQL_ROWS *)alloc_root(alloc, sizeof(MYSQL_ROWS)+(field_count + 1) * sizeof(char *)))) { |