Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
10.4
-
None
Description
Note: we agreed to ignore it until MDEV-17697 has been fixed; now it's fixed, but this failure is still reproducible.
--source include/have_innodb.inc
|
|
CREATE TABLE t1 ( |
pk INTEGER AUTO_INCREMENT, |
a INT DEFAULT 0, |
b INT, |
c INT AS (b) VIRTUAL, |
PRIMARY KEY(pk) |
) ENGINE=InnoDB WITH SYSTEM VERSIONING; |
|
CREATE TABLE t2 (f INT DEFAULT 0, KEY(f)) ENGINE=InnoDB; |
INSERT INTO t2 () VALUES (); |
|
ALTER TABLE t1 ADD CONSTRAINT FOREIGN KEY (a) REFERENCES t2 (f); |
ALTER TABLE t1 FORCE; |
INSERT INTO t1 (a,b) VALUES (0,1); |
|
# Cleanup
|
DROP TABLE t1, t2; |
10.4 3bdd93c10ae |
mysqld: /data/src/10.4/storage/innobase/include/data0data.h:596: bool dfield_t::vers_history_row() const: Assertion `type.vers_sys_end()' failed.
|
190102 21:51:06 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007f16aa1dfee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
|
#8 0x000055d5820b995b in dfield_t::vers_history_row (this=0x7f165406f880) at /data/src/10.4/storage/innobase/include/data0data.h:596
|
#9 0x000055d5820b3b03 in row_ins_check_foreign_constraint (check_ref=1, foreign=0x7f1654079538, table=0x7f1654074568, entry=0x7f16541a4cb0, thr=0x7f165406f9d0) at /data/src/10.4/storage/innobase/row/row0ins.cc:1643
|
#10 0x000055d5820b479b in row_ins_check_foreign_constraints (table=0x7f1654074568, index=0x7f16541a4e48, entry=0x7f16541a4cb0, thr=0x7f165406f9d0) at /data/src/10.4/storage/innobase/row/row0ins.cc:1994
|
#11 0x000055d5820b81a3 in row_ins_sec_index_entry (index=0x7f16541a4e48, entry=0x7f16541a4cb0, thr=0x7f165406f9d0, dup_chk_only=false) at /data/src/10.4/storage/innobase/row/row0ins.cc:3303
|
#12 0x000055d5820b84a4 in row_ins_index_entry (index=0x7f16541a4e48, entry=0x7f16541a4cb0, thr=0x7f165406f9d0) at /data/src/10.4/storage/innobase/row/row0ins.cc:3379
|
#13 0x000055d5820b8b5e in row_ins_index_entry_step (node=0x7f165406f6e8, thr=0x7f165406f9d0) at /data/src/10.4/storage/innobase/row/row0ins.cc:3545
|
#14 0x000055d5820b8f92 in row_ins (node=0x7f165406f6e8, thr=0x7f165406f9d0) at /data/src/10.4/storage/innobase/row/row0ins.cc:3688
|
#15 0x000055d5820b9792 in row_ins_step (thr=0x7f165406f9d0) at /data/src/10.4/storage/innobase/row/row0ins.cc:3933
|
#16 0x000055d5820d945e in row_insert_for_mysql (mysql_rec=0x7f16541a3830 "\371\001", prebuilt=0x7f165406f0b8, ins_mode=ROW_INS_NORMAL) at /data/src/10.4/storage/innobase/row/row0mysql.cc:1460
|
#17 0x000055d581f7576c in ha_innobase::write_row (this=0x7f165407a488, record=0x7f16541a3830 "\371\001") at /data/src/10.4/storage/innobase/handler/ha_innodb.cc:8058
|
#18 0x000055d581c4fa92 in handler::ha_write_row (this=0x7f165407a488, buf=0x7f16541a3830 "\371\001") at /data/src/10.4/sql/handler.cc:6273
|
#19 0x000055d5818eebd9 in write_record (thd=0x7f1654000b00, table=0x7f16541a2bf0, info=0x7f169f51db90) at /data/src/10.4/sql/sql_insert.cc:2022
|
#20 0x000055d5818ebf5d in mysql_insert (thd=0x7f1654000b00, table_list=0x7f1654015088, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false) at /data/src/10.4/sql/sql_insert.cc:1063
|
#21 0x000055d5819325b9 in mysql_execute_command (thd=0x7f1654000b00) at /data/src/10.4/sql/sql_parse.cc:4730
|
#22 0x000055d58193d244 in mysql_parse (thd=0x7f1654000b00, rawbuf=0x7f1654014f98 "INSERT INTO t1 (a,b) VALUES (0,1)", length=33, parser_state=0x7f169f51e600, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8104
|
#23 0x000055d58192a46e in dispatch_command (command=COM_QUERY, thd=0x7f1654000b00, packet=0x7f165400b421 "INSERT INTO t1 (a,b) VALUES (0,1)", packet_length=33, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1851
|
#24 0x000055d581928e92 in do_command (thd=0x7f1654000b00) at /data/src/10.4/sql/sql_parse.cc:1396
|
#25 0x000055d581a950ba in do_handle_one_connection (connect=0x55d5855547d0) at /data/src/10.4/sql/sql_connect.cc:1402
|
#26 0x000055d581a94e3e in handle_one_connection (arg=0x55d5855547d0) at /data/src/10.4/sql/sql_connect.cc:1308
|
#27 0x000055d581f5417a in pfs_spawn_thread (arg=0x55d58554f770) at /data/src/10.4/storage/perfschema/pfs.cc:1862
|
#28 0x00007f16abc9b494 in start_thread (arg=0x7f169f51f700) at pthread_create.c:333
|
#29 0x00007f16aa29c93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
Not reproducible on 10.3.
Attachments
Issue Links
- is duplicated by
-
MDEV-18173 Assertion `o->ind == vers_end' or `o->ind == vers_start' failed in dict_table_t::instant_column
-
- Closed
-