Commit 9c6d75e8 authored by davi@moksha.local's avatar davi@moksha.local

Post-merge fix for Bug 21136, initial merge missed the modifications for

the sql_class.h file.
parent ae079ec4
...@@ -2133,6 +2133,10 @@ class select_create: public select_insert { ...@@ -2133,6 +2133,10 @@ class select_create: public select_insert {
TABLE_LIST *select_tables; TABLE_LIST *select_tables;
Alter_info *alter_info; Alter_info *alter_info;
Field **field; Field **field;
/* lock data for tmp table */
MYSQL_LOCK *m_lock;
/* m_lock or thd->extra_lock */
MYSQL_LOCK **m_plock;
public: public:
select_create (TABLE_LIST *table_arg, select_create (TABLE_LIST *table_arg,
HA_CREATE_INFO *create_info_par, HA_CREATE_INFO *create_info_par,
...@@ -2143,7 +2147,8 @@ class select_create: public select_insert { ...@@ -2143,7 +2147,8 @@ class select_create: public select_insert {
create_table(table_arg), create_table(table_arg),
create_info(create_info_par), create_info(create_info_par),
select_tables(select_tables_arg), select_tables(select_tables_arg),
alter_info(alter_info_arg) alter_info(alter_info_arg),
m_plock(NULL)
{} {}
int prepare(List<Item> &list, SELECT_LEX_UNIT *u); int prepare(List<Item> &list, SELECT_LEX_UNIT *u);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment