summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorunknown <istruewing@stella.local>2007-11-12 13:07:54 +0100
committerunknown <istruewing@stella.local>2007-11-12 13:07:54 +0100
commitefa10a00ab5c6f4c02c96a213e183f8c1a84bdc8 (patch)
tree22e7c00beaef9b3055efbb9540c9edc32bcfff88 /libmysqld
parent076f2f732df6670a3ee7b8e290b2b66a04a77fe6 (diff)
downloadmariadb-git-efa10a00ab5c6f4c02c96a213e183f8c1a84bdc8.tar.gz
Bug#31210 - INSERT DELAYED crashes server when used on
partitioned table Post-pushbuild fix Pushbuild detected yet another need for lex initialization in 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().
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/lib_sql.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc
index d929024483c..2481956023c 100644
--- a/libmysqld/lib_sql.cc
+++ b/libmysqld/lib_sql.cc
@@ -587,6 +587,7 @@ void *create_embedded_thd(int client_flag)
fprintf(stderr,"store_globals failed.\n");
goto err;
}
+ lex_start(thd);
/* TODO - add init_connect command execution */