summaryrefslogtreecommitdiff
path: root/sql/event_scheduler.cc
diff options
context:
space:
mode:
authorMattias Jonsson <mattias.jonsson@sun.com>2009-11-20 00:13:54 +0100
committerMattias Jonsson <mattias.jonsson@sun.com>2009-11-20 00:13:54 +0100
commit92bfebb66eaddacd5d2dfa6cf749d721a921ff4c (patch)
treea730815f16faaf7a6ef2c37454e8d933408ffac5 /sql/event_scheduler.cc
parent408dd52a6ad1698619fb933b62966fa8b843f859 (diff)
downloadmariadb-git-92bfebb66eaddacd5d2dfa6cf749d721a921ff4c.tar.gz
Bug#32115: Bad use of Name_resolution_context from current LEX in partitioning
port from mysql-next (5.4) to mysql-next-mr-bugfixing (5.5/5.6?) 2755 Konstantin Osipov 2008-11-27 Bug#32115 will remove the pre-requisite to initialize LEX to open tables. This dependency was added in 5.1 and was supposed to be removed in 6.0. Remove asserts and initialization of LEX in places where we don't deal with partitioned tables.
Diffstat (limited to 'sql/event_scheduler.cc')
-rw-r--r--sql/event_scheduler.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/event_scheduler.cc b/sql/event_scheduler.cc
index ea20270b457..d9ca161f260 100644
--- a/sql/event_scheduler.cc
+++ b/sql/event_scheduler.cc
@@ -128,7 +128,6 @@ post_init_event_thread(THD *thd)
thd->cleanup();
return TRUE;
}
- lex_start(thd);
pthread_mutex_lock(&LOCK_thread_count);
threads.append(thd);