summaryrefslogtreecommitdiff
path: root/sql/sql_servers.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
commit176cabc1b46d52d2ade704627ce8527f96297fbc (patch)
treea730815f16faaf7a6ef2c37454e8d933408ffac5 /sql/sql_servers.cc
parent27fca0ab1775a8c1dfe699c978b6448a7aa8f47b (diff)
downloadmariadb-git-176cabc1b46d52d2ade704627ce8527f96297fbc.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. sql/sp_head.cc: Fix a typo.
Diffstat (limited to 'sql/sql_servers.cc')
-rw-r--r--sql/sql_servers.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_servers.cc b/sql/sql_servers.cc
index e8fa3d984a7..8432b68a1d1 100644
--- a/sql/sql_servers.cc
+++ b/sql/sql_servers.cc
@@ -140,7 +140,6 @@ bool servers_init(bool dont_read_servers_table)
DBUG_RETURN(TRUE);
thd->thread_stack= (char*) &thd;
thd->store_globals();
- lex_start(thd);
/*
It is safe to call servers_reload() since servers_* arrays and hashes which
will be freed there are global static objects and thus are initialized