Details
-
Technical task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
create table t1 (i int); |
create or replace table t1 as select * from t1; |
mysqld: sql/table_cache.cc:1002: bool tdc_remove_table(THD*, enum_tdc_remove_table_type, const char*, const char*, bool): Assertion `share->tdc.all_tables.is_empty() || remove_type != TDC_RT_REMOVE_ALL' failed.
|
140129 17:28:18 [ERROR] mysqld got signal 6 ;
|
#6 0x00007f6bad0a8621 in *__GI___assert_fail (assertion=0x1035a98 "share->tdc.all_tables.is_empty() || remove_type != TDC_RT_REMOVE_ALL", file=<optimized out>, line=1002, function=0x1036320 "bool tdc_remove_table(THD*, enum_tdc_remove_table_type, const char*, const char*, bool)") at assert.c:81
|
#7 0x00000000007dcece in tdc_remove_table (thd=0x7f6ba6f35070, remove_type=TDC_RT_REMOVE_ALL, db=0x7f6ba4101760 "test", table_name=0x7f6ba4101158 "t1", kill_delayed_threads=false) at sql/table_cache.cc:1002
|
#8 0x000000000070a51d in mysql_rm_table_no_locks (thd=0x7f6ba6f35070, tables=0x7f6bae8b8ac0, if_exists=false, drop_temporary=false, drop_view=false, dont_log_query=true) at sql/sql_table.cc:2473
|
#9 0x00000000007102d7 in create_table_impl (thd=0x7f6ba6f35070, db=0x7f6ba4101760 "test", table_name=0x7f6ba4101158 "t1", path=0x7f6bae8b9520 "./test/t1", create_info=0x7f6bae8bacd0, alter_info=0x7f6bae8bac40, create_table_mode=1, is_trans=0x0, key_info=0x7f6bae8b9748, key_count=0x7f6bae8b9744, frm=0x7f6bae8b9730) at sql/sql_table.cc:4612
|
#10 0x0000000000710b18 in mysql_create_table_no_lock (thd=0x7f6ba6f35070, db=0x7f6ba4101760 "test", table_name=0x7f6ba4101158 "t1", create_info=0x7f6bae8bacd0, alter_info=0x7f6bae8bac40, is_trans=0x0, create_table_mode=1) at sql/sql_table.cc:4799
|
#11 0x000000000064f11d in create_table_from_items (thd=0x7f6ba6f35070, create_info=0x7f6bae8bacd0, create_table=0x7f6ba4101190, alter_info=0x7f6bae8bac40, items=0x7f6ba6f39528, lock=0x7f6bae8ba898, hooks=0x7f6bae8ba870) at sql/sql_insert.cc:3949
|
#12 0x000000000064f745 in select_create::prepare (this=0x7f6ba4102050, values=..., u=0x7f6ba6f38d38) at sql/sql_insert.cc:4120
|
#13 0x000000000069936f in JOIN::prepare (this=0x7f6ba4102130, rref_pointer_array=0x7f6ba6f39688, tables_init=0x7f6ba41018b0, wild_num=1, conds_init=0x0, og_num=0, order_init=0x0, skip_order_by=false, group_init=0x0, having_init=0x0, proc_param_init=0x0, select_lex_arg=0x7f6ba6f39418, unit_arg=0x7f6ba6f38d38) at sql/sql_select.cc:956
|
#14 0x00000000006a1101 in mysql_select (thd=0x7f6ba6f35070, rref_pointer_array=0x7f6ba6f39688, tables=0x7f6ba41018b0, wild_num=1, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2416184064, result=0x7f6ba4102050, unit=0x7f6ba6f38d38, select_lex=0x7f6ba6f39418) at sql/sql_select.cc:3272
|
#15 0x00000000006978e3 in handle_select (thd=0x7f6ba6f35070, lex=0x7f6ba6f38c78, result=0x7f6ba4102050, setup_tables_done_option=0) at sql/sql_select.cc:372
|
#16 0x0000000000665d68 in mysql_execute_command (thd=0x7f6ba6f35070) at sql/sql_parse.cc:2989
|
#17 0x000000000066f0cc in mysql_parse (thd=0x7f6ba6f35070, rawbuf=0x7f6ba4101088 "create or replace table t1 as select * from t1", length=46, parser_state=0x7f6bae8bb630) at sql/sql_parse.cc:6386
|
#18 0x0000000000662006 in dispatch_command (command=COM_QUERY, thd=0x7f6ba6f35070, packet=0x7f6ba6f2b071 "create or replace table t1 as select * from t1", packet_length=46) at sql/sql_parse.cc:1296
|
#19 0x00000000006613a8 in do_command (thd=0x7f6ba6f35070) at sql/sql_parse.cc:993
|
#20 0x000000000077aef5 in do_handle_one_connection (thd_arg=0x7f6ba6f35070) at sql/sql_connect.cc:1379
|
#21 0x000000000077ac48 in handle_one_connection (arg=0x7f6ba6f35070) at sql/sql_connect.cc:1293
|
#22 0x0000000000a9dd45 in pfs_spawn_thread (arg=0x7f6ba7775530) at storage/perfschema/pfs.cc:1853
|
#23 0x00007f6bae608b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
|
#24 0x00007f6bad157a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
|
revision-id: monty@askmonty.org-20140129123724-hl8iop8cpxbk67r5
|
revno: 3970
|
branch-nick: mariadb-monty
|