Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.4(EOL), 10.5, 10.6, 10.9(EOL), 10.10(EOL), 10.11, 11.0(EOL), 11.1(EOL)
-
None
Description
--source include/have_innodb.inc
|
|
CREATE TABLE t (pk INT PRIMARY KEY, f TEXT, FULLTEXT KEY(f)) ENGINE=InnoDB WITH SYSTEM VERSIONING; |
INSERT INTO t VALUES (1,NULL); |
DELETE FROM t; |
ALTER TABLE t FORCE; |
DELETE HISTORY FROM t; |
|
# Cleanup
|
DROP TABLE t; |
10.4 f5dceafd |
mysqld: /data/src/10.4/storage/innobase/fts/fts0fts.cc:2867: dberr_t fts_delete(fts_trx_table_t*, fts_trx_row_t*): Assertion `!(table->flags2 & (2U))' failed.
|
230620 16:36:11 [ERROR] mysqld got signal 6 ;
|
|
#9 0x00007f78dab74df2 in __GI___assert_fail (assertion=0x555cb466c200 "!(table->flags2 & (2U))", file=0x555cb4669c00 "/data/src/10.4/storage/innobase/fts/fts0fts.cc", line=2867, function=0x555cb466c240 "dberr_t fts_delete(fts_trx_table_t*, fts_trx_row_t*)") at ./assert/assert.c:101
|
#10 0x0000555cb361eb3c in fts_delete (ftt=0x619000101f48, row=0x606000191920) at /data/src/10.4/storage/innobase/fts/fts0fts.cc:2867
|
#11 0x0000555cb361fa01 in fts_commit_table (ftt=0x619000101f48) at /data/src/10.4/storage/innobase/fts/fts0fts.cc:3013
|
#12 0x0000555cb361fb5e in fts_commit (trx=0x7f78d2ae7908) at /data/src/10.4/storage/innobase/fts/fts0fts.cc:3054
|
#13 0x0000555cb3357e54 in trx_t::commit_low (this=0x7f78d2ae7908, mtr=0x7f78c5eef7b0) at /data/src/10.4/storage/innobase/trx/trx0trx.cc:1496
|
#14 0x0000555cb33580a0 in trx_t::commit (this=0x7f78d2ae7908) at /data/src/10.4/storage/innobase/trx/trx0trx.cc:1544
|
#15 0x0000555cb3358af0 in trx_commit_for_mysql (trx=0x7f78d2ae7908) at /data/src/10.4/storage/innobase/trx/trx0trx.cc:1676
|
#16 0x0000555cb2e3ec4c in innobase_commit_low (trx=0x7f78d2ae7908) at /data/src/10.4/storage/innobase/handler/ha_innodb.cc:4488
|
#17 0x0000555cb2e3f447 in innobase_commit_ordered_2 (trx=0x7f78d2ae7908, thd=0x62b00009a208) at /data/src/10.4/storage/innobase/handler/ha_innodb.cc:4617
|
#18 0x0000555cb2e3fff0 in innobase_commit (hton=0x614000001c48, thd=0x62b00009a208, commit_trx=false) at /data/src/10.4/storage/innobase/handler/ha_innodb.cc:4732
|
#19 0x0000555cb2499a60 in commit_one_phase_2 (thd=0x62b00009a208, all=false, trans=0x62b00009d7e0, is_real_trans=true) at /data/src/10.4/sql/handler.cc:1828
|
#20 0x0000555cb249978d in ha_commit_one_phase (thd=0x62b00009a208, all=false) at /data/src/10.4/sql/handler.cc:1807
|
#21 0x0000555cb2497e7c in ha_commit_trans (thd=0x62b00009a208, all=false) at /data/src/10.4/sql/handler.cc:1613
|
#22 0x0000555cb211c17b in trans_commit_stmt (thd=0x62b00009a208) at /data/src/10.4/sql/transaction.cc:437
|
#23 0x0000555cb1d02427 in mysql_execute_command (thd=0x62b00009a208) at /data/src/10.4/sql/sql_parse.cc:6274
|
#24 0x0000555cb1d0d463 in mysql_parse (thd=0x62b00009a208, rawbuf=0x62b0000a1228 "DELETE HISTORY FROM t", length=21, parser_state=0x7f78c5ef2860, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8008
|
#25 0x0000555cb1ce37a6 in dispatch_command (command=COM_QUERY, thd=0x62b00009a208, packet=0x62900029e209 "DELETE HISTORY FROM t", packet_length=21, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1857
|
#26 0x0000555cb1ce0315 in do_command (thd=0x62b00009a208) at /data/src/10.4/sql/sql_parse.cc:1378
|
#27 0x0000555cb20df0ba in do_handle_one_connection (connect=0x608000000ba8) at /data/src/10.4/sql/sql_connect.cc:1420
|
#28 0x0000555cb20de9d1 in handle_one_connection (arg=0x608000000ba8) at /data/src/10.4/sql/sql_connect.cc:1324
|
#29 0x0000555cb2d4baee in pfs_spawn_thread (arg=0x615000006208) at /data/src/10.4/storage/perfschema/pfs.cc:1869
|
#30 0x00007f78dabc8fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#31 0x00007f78dac495bc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
Reproducible on all existing versions (and on 10.3).
No obvious immediate problem on a non-debug build.