diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2019-08-18 23:18:44 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2019-08-19 10:38:24 +0300 |
commit | 6dd3f24090ce2d237037eb09cf7db083ebbc92f9 (patch) | |
tree | 9f7eac51d80ecb434ec5e695b2667fcf3f5d1b85 /sql/sql_table.cc | |
parent | 44150a770fd861c3837df34357c794432baf8882 (diff) | |
download | mariadb-git-6dd3f24090ce2d237037eb09cf7db083ebbc92f9.tar.gz |
MDEV-19740 Debug build of 10.3.15 FTBFS
* Replace LINT_INIT for non-struct types with ctor initializers;
* Check BUILD_DEPS list is not empty so REMOVE_DUPLICATES won't throw
error.
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 1543a445d7b..55e84cbfeb5 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -10863,10 +10863,9 @@ bool Sql_cmd_create_table_like::execute(THD *thd) { DBUG_ENTER("Sql_cmd_create_table::execute"); LEX *lex= thd->lex; - TABLE_LIST *all_tables= lex->query_tables; SELECT_LEX *select_lex= &lex->select_lex; TABLE_LIST *first_table= select_lex->table_list.first; - DBUG_ASSERT(first_table == all_tables && first_table != 0); + DBUG_ASSERT(first_table == lex->query_tables && first_table != 0); bool link_to_local; TABLE_LIST *create_table= first_table; TABLE_LIST *select_tables= lex->create_last_non_select_table->next_global; |