diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc index d929024483ccb28dac3c31b96c8608480237647b..2481956023c260efef5905b561cef6f4960c6623 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 */