diff options
author | unknown <istruewing@stella.local> | 2007-11-11 20:38:28 +0100 |
---|---|---|
committer | unknown <istruewing@stella.local> | 2007-11-11 20:38:28 +0100 |
commit | c9e0ea595d2e4e0dfb995c58953854fa2859a239 (patch) | |
tree | bc21ea9cfae0c01a216cbc936dab8bfa08371349 /libmysqld | |
parent | 09e88154d7f2471bf2a6eb8a1e9e5fab52cac7d5 (diff) | |
download | mariadb-git-c9e0ea595d2e4e0dfb995c58953854fa2859a239.tar.gz |
Bug#31210 - INSERT DELAYED crashes server when used on
partitioned table
Post-pushbuild fix
Pushbuild detected a new need for lex initialization in
embedded server.
Fixed test for INSERT DELAYED in partitions_hash.test so that
it works with embedded server.
libmysqld/lib_sql.cc:
Bug#31210 - INSERT DELAYED crashes server when used on
partitioned table
Initialized lex for later use in open_table().
mysql-test/r/partition_hash.result:
Bug#31210 - INSERT DELAYED crashes server when used on
partitioned table
Fixed test result for embedded server.
mysql-test/t/partition_hash.test:
Bug#31210 - INSERT DELAYED crashes server when used on
partitioned table
Fixed test for embedded server.
Diffstat (limited to 'libmysqld')
-rw-r--r-- | libmysqld/lib_sql.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc index 4e525f8447f..d929024483c 100644 --- a/libmysqld/lib_sql.cc +++ b/libmysqld/lib_sql.cc @@ -94,6 +94,7 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command, thd->current_stmt= stmt; thd->store_globals(); // Fix if more than one connect + lex_start(thd); /* We have to call free_old_query before we start to fill mysql->fields for new query. In the case of embedded server we collect field data |