Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.3.4
-
None
Description
Assertion `row_start_field' failed in vers_prepare_keys.
install soname 'ha_federatedx'; |
create or replace table t1 (i int) with system versioning; |
--eval create or replace table tf engine=FEDERATED connection='mysql://root@127.0.0.1:$MASTER_MYPORT/test/t1'
|
select * from tf; |
|
# Cleanup
|
drop table tf, t1; |
uninstall soname 'ha_federatedx'; |
bb-10.3-temporal a3a15126f260 |
mysqld: /data/src/bb-10.3-temporal/sql/sql_table.cc:4459: bool vers_prepare_keys(THD*, HA_CREATE_INFO*, Alter_info*, KEY**, uint): Assertion `row_start_field' failed.
|
171228 19:20:54 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007fa42fcdeee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
|
#8 0x0000560ab5e2e450 in vers_prepare_keys (thd=0x7fa3cc000b00, create_info=0x7fa4280e1258, alter_info=0x7fa4280e1678, key_info=0x7fa4280e0018, key_count=32676) at /data/src/bb-10.3-temporal/sql/sql_table.cc:4459
|
#9 0x0000560ab5e2f12c in mysql_create_frm_image (thd=0x7fa3cc000b00, db=0x7fa3cc0153e0 "test", table_name=0x7fa3cc014d78 "tf", create_info=0x7fa4280e1258, alter_info=0x7fa4280e1678, create_table_mode=0, key_info=0x7fa4280e0018, key_count=0x7fa4280e0014, frm=0x7fa4280e0060) at /data/src/bb-10.3-temporal/sql/sql_table.cc:4735
|
#10 0x0000560ab5e6e392 in TABLE_SHARE::init_from_sql_statement_string (this=0x7fa4280e33c0, thd=0x7fa3cc000b00, write=true, sql=0x7fa4280e1c20 "CREATE TABLE `t1` (\n `i` int(11) DEFAULT NULL\n) WITH SYSTEM VERSIONING CONNECTION='mysql://root@127.0.0.1:16000/test/t1'#\006\060\244\177", sql_length=121) at /data/src/bb-10.3-temporal/sql/table.cc:2785
|
#11 0x00007fa4205ea3fa in ha_federatedx::discover_assisted (hton=0x7fa3cc0a0480, thd=0x7fa3cc000b00, table_s=0x7fa4280e33c0, info=0x7fa4280e47b0) at /data/src/bb-10.3-temporal/storage/federatedx/ha_federatedx.cc:3627
|
#12 0x0000560ab5e2fafb in create_table_impl (thd=0x7fa3cc000b00, orig_db=0x7fa3cc0153e0 "test", orig_table_name=0x7fa3cc014d78 "tf", db=0x7fa3cc0153e0 "test", table_name=0x7fa3cc014d78 "tf", path=0x7fa4280e3b00 "./test/tf", options=..., create_info=0x7fa4280e47b0, alter_info=0x7fa4280e4700, create_table_mode=-3, is_trans=0x7fa4280e3d5e, key_info=0x7fa4280e3ae0, key_count=0x7fa4280e3ad4, frm=0x7fa4280e3af0) at /data/src/bb-10.3-temporal/sql/sql_table.cc:4961
|
#13 0x0000560ab5e3020d in mysql_create_table_no_lock (thd=0x7fa3cc000b00, db=0x7fa3cc0153e0 "test", table_name=0x7fa3cc014d78 "tf", create_info=0x7fa4280e47b0, alter_info=0x7fa4280e4700, is_trans=0x7fa4280e3d5e, create_table_mode=-3, table_list=0x7fa3cc014db0) at /data/src/bb-10.3-temporal/sql/sql_table.cc:5100
|
#14 0x0000560ab5e305ad in mysql_create_table (thd=0x7fa3cc000b00, create_table=0x7fa3cc014db0, create_info=0x7fa4280e47b0, alter_info=0x7fa4280e4700) at /data/src/bb-10.3-temporal/sql/sql_table.cc:5175
|
#15 0x0000560ab5d60666 in mysql_execute_command (thd=0x7fa3cc000b00) at /data/src/bb-10.3-temporal/sql/sql_parse.cc:4259
|
#16 0x0000560ab5d6c3f6 in mysql_parse (thd=0x7fa3cc000b00, rawbuf=0x7fa3cc014c48 "create or replace table tf engine=FEDERATED connection='mysql://root@127.0.0.1:16000/test/t1'", length=93, parser_state=0x7fa4280e55f0, is_com_multi=false, is_next_command=false) at /data/src/bb-10.3-temporal/sql/sql_parse.cc:7991
|
#17 0x0000560ab5d59b97 in dispatch_command (command=COM_QUERY, thd=0x7fa3cc000b00, packet=0x7fa3cc1200b1 "create or replace table tf engine=FEDERATED connection='mysql://root@127.0.0.1:16000/test/t1'", packet_length=93, is_com_multi=false, is_next_command=false) at /data/src/bb-10.3-temporal/sql/sql_parse.cc:1825
|
#18 0x0000560ab5d585cb in do_command (thd=0x7fa3cc000b00) at /data/src/bb-10.3-temporal/sql/sql_parse.cc:1370
|
#19 0x0000560ab5ec0354 in do_handle_one_connection (connect=0x560ab982edd0) at /data/src/bb-10.3-temporal/sql/sql_connect.cc:1420
|
#20 0x0000560ab5ec00e1 in handle_one_connection (arg=0x560ab982edd0) at /data/src/bb-10.3-temporal/sql/sql_connect.cc:1326
|
#21 0x0000560ab635ac5a in pfs_spawn_thread (arg=0x560ab98d17f0) at /data/src/bb-10.3-temporal/storage/perfschema/pfs.cc:1863
|
#22 0x00007fa4319b5494 in start_thread (arg=0x7fa4280e6700) at pthread_create.c:333
|
#23 0x00007fa42fd9b93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
Reproducible with (at least) MyISAM and InnoDB for underlying tables.