diff options
author | Mattias Jonsson <mattias.jonsson@sun.com> | 2009-11-20 00:13:54 +0100 |
---|---|---|
committer | Mattias Jonsson <mattias.jonsson@sun.com> | 2009-11-20 00:13:54 +0100 |
commit | 176cabc1b46d52d2ade704627ce8527f96297fbc (patch) | |
tree | a730815f16faaf7a6ef2c37454e8d933408ffac5 /sql/sql_udf.cc | |
parent | 27fca0ab1775a8c1dfe699c978b6448a7aa8f47b (diff) | |
download | mariadb-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_udf.cc')
-rw-r--r-- | sql/sql_udf.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_udf.cc b/sql/sql_udf.cc index a1a0d9633b7..f38d8921181 100644 --- a/sql/sql_udf.cc +++ b/sql/sql_udf.cc @@ -135,7 +135,6 @@ void udf_init() initialized = 1; new_thd->thread_stack= (char*) &new_thd; new_thd->store_globals(); - lex_start(new_thd); new_thd->set_db(db, sizeof(db)-1); bzero((uchar*) &tables,sizeof(tables)); |