summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.cc
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2009-12-10 22:27:28 +0300
committerAlexander Nozdrin <alik@sun.com>2009-12-10 22:27:28 +0300
commitc323c2d8bf219a00e08956d9f95dcc9ebbed21ef (patch)
treede6f79f57aac8317ab35e980b3c3dcf36c5d6808 /sql/ha_ndbcluster.cc
parent9b0e649a2ca37e7ac6a17e12e130b9162687f660 (diff)
parent26e2802cf083946dba756b437715e42f432d9041 (diff)
downloadmariadb-git-c323c2d8bf219a00e08956d9f95dcc9ebbed21ef.tar.gz
Auto-merge from mysql-next-mr-bugfixing.
Diffstat (limited to 'sql/ha_ndbcluster.cc')
-rw-r--r--sql/ha_ndbcluster.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc
index 6cc35100385..a9cc37f3162 100644
--- a/sql/ha_ndbcluster.cc
+++ b/sql/ha_ndbcluster.cc
@@ -6957,7 +6957,6 @@ int ndb_create_table_from_engine(THD *thd, const char *db,
LEX *old_lex= thd->lex, newlex;
thd->lex= &newlex;
newlex.current_select= NULL;
- lex_start(thd);
int res= ha_create_table_from_engine(thd, db, table_name);
thd->lex= old_lex;
return res;
@@ -9305,7 +9304,6 @@ pthread_handler_t ndb_util_thread_func(void *arg __attribute__((unused)))
thd->thread_stack= (char*)&thd; /* remember where our stack is */
if (thd->store_globals())
goto ndb_util_thread_fail;
- lex_start(thd);
thd->init_for_queries();
thd->version=refresh_version;
thd->main_security_ctx.host_or_ip= "";