CREATEORREPLACETABLE t1 (f TEXT UNIQUE, FULLTEXT(f)) ENGINE=InnoDB;
INSERTINTO t1 VALUES ('foo');
CREATEORREPLACETABLE t2 (a VARCHAR(255)) ENGINE=InnoDB;
INSERTINTO t2 VALUES ('foobar'),('qux');
UPDATE t1 JOIN t2 SET f = a;
# Cleanup
DROPTABLE t1, t2;
10.4 dc22acfd
2020-05-22 21:48:19 0x7f68383bc700 InnoDB: Assertion failure in file /data/src/10.4/storage/innobase/fts/fts0fts.cc line 2208
InnoDB: Failing assertion: result != FTS_INVALID
#6 0x000055bcd1df1052 in ut_dbg_assertion_failed (expr=0x55bcd26066cc "result != FTS_INVALID", file=0x55bcd2605f70 "/data/src/10.4/storage/innobase/fts/fts0fts.cc", line=2208) at /data/src/10.4/storage/innobase/ut/ut0dbg.cc:60
#7 0x000055bcd1f54995 in fts_trx_row_get_new_state (old_state=FTS_DELETE, event=FTS_DELETE) at /data/src/10.4/storage/innobase/fts/fts0fts.cc:2208
#8 0x000055bcd1f54deb in fts_trx_table_add_op (ftt=0x7f67f01b61b0, doc_id=1, state=FTS_DELETE, fts_indexes=0x0) at /data/src/10.4/storage/innobase/fts/fts0fts.cc:2398
#9 0x000055bcd1f54f45 in fts_trx_add_op (trx=0x7f6838e54140, table=0x7f67f000bc30, doc_id=1, state=FTS_DELETE, fts_indexes=0x0) at /data/src/10.4/storage/innobase/fts/fts0fts.cc:2445
#10 0x000055bcd1d12e7b in row_fts_do_update (trx=0x7f6838e54140, table=0x7f67f000bc30, old_doc_id=1, new_doc_id=3) at /data/src/10.4/storage/innobase/row/row0mysql.cc:1701
#11 0x000055bcd1d13049 in row_fts_update_or_delete (prebuilt=0x7f67f0052b40) at /data/src/10.4/storage/innobase/row/row0mysql.cc:1738
#12 0x000055bcd1d1396c in row_update_for_mysql (prebuilt=0x7f67f0052b40) at /data/src/10.4/storage/innobase/row/row0mysql.cc:1921
#13 0x000055bcd1b6c2f4 in ha_innobase::update_row (this=0x7f67f000b3f8, old_row=0x7f67f004a408 "\374\006", new_row=0x7f67f004a3f0 "\374\003") at /data/src/10.4/storage/innobase/handler/ha_innodb.cc:8796
#14 0x000055bcd192df2c in handler::ha_update_row (this=0x7f67f000b3f8, old_data=0x7f67f004a408 "\374\006", new_data=0x7f67f004a3f0 "\374\003") at /data/src/10.4/sql/handler.cc:6751
#15 0x000055bcd16dac4f in multi_update::send_data (this=0x7f67f0014a78, not_used_values=...) at /data/src/10.4/sql/sql_update.cc:2527
#16 0x000055bcd16473b1 in end_send (join=0x7f67f0014b50, join_tab=0x7f67f0017408, end_of_records=false) at /data/src/10.4/sql/sql_select.cc:21555
#17 0x000055bcd1644a43 in evaluate_join_record (join=0x7f67f0014b50, join_tab=0x7f67f0017060, error=0) at /data/src/10.4/sql/sql_select.cc:20586
#18 0x000055bcd16444de in sub_select (join=0x7f67f0014b50, join_tab=0x7f67f0017060, end_of_records=false) at /data/src/10.4/sql/sql_select.cc:20405
#19 0x000055bcd1644a43 in evaluate_join_record (join=0x7f67f0014b50, join_tab=0x7f67f0016cb8, error=0) at /data/src/10.4/sql/sql_select.cc:20586
#20 0x000055bcd1644329 in sub_select (join=0x7f67f0014b50, join_tab=0x7f67f0016cb8, end_of_records=false) at /data/src/10.4/sql/sql_select.cc:20366
#21 0x000055bcd16437b8 in do_select (join=0x7f67f0014b50, procedure=0x0) at /data/src/10.4/sql/sql_select.cc:19904
#22 0x000055bcd16186a1 in JOIN::exec_inner (this=0x7f67f0014b50) at /data/src/10.4/sql/sql_select.cc:4459
#23 0x000055bcd16177de in JOIN::exec (this=0x7f67f0014b50) at /data/src/10.4/sql/sql_select.cc:4241
#24 0x000055bcd1618ef3 in mysql_select (thd=0x7f67f0000af0, tables=0x7f67f0013280, wild_num=0, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=1342177408, result=0x7f67f0014a78, unit=0x7f67f0004a18, select_lex=0x7f67f0005210) at /data/src/10.4/sql/sql_select.cc:4673
#25 0x000055bcd16d8ab4 in mysql_multi_update (thd=0x7f67f0000af0, table_list=0x7f67f0013280, fields=0x7f67f0005358, values=0x7f67f00058e0, conds=0x0, options=0, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7f67f0004a18, select_lex=0x7f67f0005210, result=0x7f68383baf00) at /data/src/10.4/sql/sql_update.cc:1927
#26 0x000055bcd15c7845 in mysql_execute_command (thd=0x7f67f0000af0) at /data/src/10.4/sql/sql_parse.cc:4445
#27 0x000055bcd15d3509 in mysql_parse (thd=0x7f67f0000af0, rawbuf=0x7f67f0013198 "UPDATE t1 JOIN t2 SET f = a", length=27, parser_state=0x7f68383bb570, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:7900
#28 0x000055bcd15bfab9 in dispatch_command (command=COM_QUERY, thd=0x7f67f0000af0, packet=0x7f67f0156a01 "UPDATE t1 JOIN t2 SET f = a", packet_length=27, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1842
#29 0x000055bcd15be25b in do_command (thd=0x7f67f0000af0) at /data/src/10.4/sql/sql_parse.cc:1360
#30 0x000055bcd1745e6a in do_handle_one_connection (connect=0x55bcd56a89f0) at /data/src/10.4/sql/sql_connect.cc:1412
#31 0x000055bcd1745bb9 in handle_one_connection (arg=0x55bcd56a89f0) at /data/src/10.4/sql/sql_connect.cc:1316
#32 0x000055bcd2143291 in pfs_spawn_thread (arg=0x55bcd56c42d0) at /data/src/10.4/storage/perfschema/pfs.cc:1869
#33 0x00007f6840f9b4a4 in start_thread (arg=0x7f68383bc700) at pthread_create.c:456
#34 0x00007f683f0cfd0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
Reproducible on 10.4 and 10.5, non-debug, debug and asan builds alike.
The test case is not applicable to earlier versions due to the use of the unique blob.
CREATEORREPLACETABLE t2 (a VARCHAR(255)) ENGINE=InnoDB;
INSERTINTO t2 VALUES ('foobar'),('qux');
UPDATE t1 JOIN t2 SET f = a;
select * from t1;
f
foobar
DROPTABLE t1, t2;
--source include/have_innodb.inc
CREATETABLE t1 (f TEXT unique) ENGINE=InnoDB;
INSERTINTO t1(f) VALUES ('foo');
CREATEORREPLACETABLE t2 (a VARCHAR(255)) ENGINE=InnoDB;
INSERTINTO t2 VALUES ('foobar'),('qux');
UPDATE t1 JOIN t2 SET f = a;
select * from t1;
f
qux
DROPTABLE t1, t2;
I am not sure how update queries behaves differently based on unique blob index. Could be related to MDEV-371
Thirunarayanan Balathandayuthapani
added a comment -
--source include/have_innodb.inc
CREATE TABLE t1 (f TEXT) ENGINE=InnoDB;
INSERT INTO t1(f) VALUES ( 'foo' );
CREATE OR REPLACE TABLE t2 (a VARCHAR (255)) ENGINE=InnoDB;
INSERT INTO t2 VALUES ( 'foobar' ),( 'qux' );
UPDATE t1 JOIN t2 SET f = a;
select * from t1;
f
foobar
DROP TABLE t1, t2;
--source include/have_innodb.inc
CREATE TABLE t1 (f TEXT unique ) ENGINE=InnoDB;
INSERT INTO t1(f) VALUES ( 'foo' );
CREATE OR REPLACE TABLE t2 (a VARCHAR (255)) ENGINE=InnoDB;
INSERT INTO t2 VALUES ( 'foobar' ),( 'qux' );
UPDATE t1 JOIN t2 SET f = a;
select * from t1;
f
qux
DROP TABLE t1, t2;
I am not sure how update queries behaves differently based on unique blob index. Could be related to MDEV-371
The commit below made the failure (at least with this test case) disappear in 10.5.
commit d543363f25f96a6cf1779904ea483c59effa1796
Author: Nikita Malyavin
Date: Thu Sep 24 21:59:28 2020 +1000
MDEV-22714 Assertion failed upon multi-update on table WITHOUT OVERLAPS
I am not sure whether it actually fixed the underlying problem or just hid it, In the latter case we might need a new test case for 10.5+.
However, on 10.4, the originally reported one still causes the failure
Elena Stepanova
added a comment - The commit below made the failure (at least with this test case) disappear in 10.5.
commit d543363f25f96a6cf1779904ea483c59effa1796
Author: Nikita Malyavin
Date: Thu Sep 24 21:59:28 2020 +1000
MDEV-22714 Assertion failed upon multi-update on table WITHOUT OVERLAPS
I am not sure whether it actually fixed the underlying problem or just hid it, In the latter case we might need a new test case for 10.5+.
However, on 10.4, the originally reported one still causes the failure
Here is a test case which reproduces the same assertion failure on all 10.4+. It doesn't do multi-update, so I'm not absolutely sure it's the same problem, but since they don't think there is much point in creating a new JIRA, I'll just put it here for now.
2022-02-15 00:04:46 0x7f1545518700 InnoDB: Assertion failure in file /data/src/10.7/storage/innobase/fts/fts0fts.cc line 2142
InnoDB: Failing assertion: result != FTS_INVALID
#6 0x000055c82fce320b in ut_dbg_assertion_failed (expr=0x55c8304596ac "result != FTS_INVALID", file=0x55c830458a40 "/data/src/10.7/storage/innobase/fts/fts0fts.cc", line=2142) at /data/src/10.7/storage/innobase/ut/ut0dbg.cc:60
#7 0x000055c82fe14ea6 in fts_trx_row_get_new_state (old_state=FTS_INSERT, event=FTS_INSERT) at /data/src/10.7/storage/innobase/fts/fts0fts.cc:2142
#8 0x000055c82fe152ea in fts_trx_table_add_op (ftt=0x7f14f0107e58, doc_id=2, state=FTS_INSERT, fts_indexes=0x0) at /data/src/10.7/storage/innobase/fts/fts0fts.cc:2332
#9 0x000055c82fe1545f in fts_trx_add_op (trx=0x7f15467c21e0, table=0x7f14f007a7b8, doc_id=2, state=FTS_INSERT, fts_indexes=0x0) at /data/src/10.7/storage/innobase/fts/fts0fts.cc:2379
#10 0x000055c82fc2ba53 in row_insert_for_mysql (mysql_rec=0x7f14f0b34bf8 "\376\002", prebuilt=0x7f14f0116be8, ins_mode=ROW_INS_NORMAL) at /data/src/10.7/storage/innobase/row/row0mysql.cc:1392
#11 0x000055c82fa6c087 in ha_innobase::write_row (this=0x7f14f0232cc0, record=0x7f14f0b34bf8 "\376\002") at /data/src/10.7/storage/innobase/handler/ha_innodb.cc:7878
#12 0x000055c82f69c59b in handler::ha_write_row (this=0x7f14f0232cc0, buf=0x7f14f0b34bf8 "\376\002") at /data/src/10.7/sql/handler.cc:7519
#13 0x000055c82f290938 in write_record (thd=0x7f14f0000db8, table=0x7f14f0213ea8, info=0x7f14f0017178, sink=0x0) at /data/src/10.7/sql/sql_insert.cc:1833
#14 0x000055c82f297701 in select_insert::send_data (this=0x7f14f0017128, values=...) at /data/src/10.7/sql/sql_insert.cc:4120
#15 0x000055c82f399be3 in select_result_sink::send_data_with_check (this=0x7f14f0017128, items=..., u=0x7f14f00051c0, sent=1) at /data/src/10.7/sql/sql_class.h:5605
#16 0x000055c82f37ff08 in end_send (join=0x7f14f00171e8, join_tab=0x7f14f0103bc0, end_of_records=false) at /data/src/10.7/sql/sql_select.cc:22335
#17 0x000055c82f37d412 in evaluate_join_record (join=0x7f14f00171e8, join_tab=0x7f14f0103810, error=0) at /data/src/10.7/sql/sql_select.cc:21329
#18 0x000055c82f394182 in AGGR_OP::end_send (this=0x7f14f00192e0) at /data/src/10.7/sql/sql_select.cc:29551
#19 0x000055c82f37c67e in sub_select_postjoin_aggr (join=0x7f14f00171e8, join_tab=0x7f14f0103810, end_of_records=true) at /data/src/10.7/sql/sql_select.cc:20809
#20 0x000055c82f37c9df in sub_select (join=0x7f14f00171e8, join_tab=0x7f14f0103460, end_of_records=true) at /data/src/10.7/sql/sql_select.cc:21044
#21 0x000055c82f37c162 in do_select (join=0x7f14f00171e8, procedure=0x0) at /data/src/10.7/sql/sql_select.cc:20646
#22 0x000055c82f34f77c in JOIN::exec_inner (this=0x7f14f00171e8) at /data/src/10.7/sql/sql_select.cc:4751
#23 0x000055c82f34e7f1 in JOIN::exec (this=0x7f14f00171e8) at /data/src/10.7/sql/sql_select.cc:4529
#24 0x000055c82f350122 in mysql_select (thd=0x7f14f0000db8, tables=0x7f14f00161a8, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2202245794560, result=0x7f14f0017128, unit=0x7f14f00051c0, select_lex=0x7f14f0015bd0) at /data/src/10.7/sql/sql_select.cc:5009
#25 0x000055c82f33f41b in handle_select (thd=0x7f14f0000db8, lex=0x7f14f00050e8, result=0x7f14f0017128, setup_tables_done_option=1073741824) at /data/src/10.7/sql/sql_select.cc:545
#26 0x000055c82f2e2647 in mysql_execute_command (thd=0x7f14f0000db8, is_called_from_prepared_stmt=false) at /data/src/10.7/sql/sql_parse.cc:4708
#27 0x000055c82f2ed593 in mysql_parse (thd=0x7f14f0000db8, rawbuf=0x7f14f0015400 "REPLACE INTO t1 SELECT * FROM t1", length=32, parser_state=0x7f1545517500) at /data/src/10.7/sql/sql_parse.cc:8027
#28 0x000055c82f2d9bf8 in dispatch_command (command=COM_QUERY, thd=0x7f14f0000db8, packet=0x7f14f000b989 "REPLACE INTO t1 SELECT * FROM t1", packet_length=32, blocking=true) at /data/src/10.7/sql/sql_parse.cc:1894
#29 0x000055c82f2d85b2 in do_command (thd=0x7f14f0000db8, blocking=true) at /data/src/10.7/sql/sql_parse.cc:1402
#30 0x000055c82f4a86e8 in do_handle_one_connection (connect=0x55c833998978, put_in_cache=true) at /data/src/10.7/sql/sql_connect.cc:1418
#31 0x000055c82f4a8387 in handle_one_connection (arg=0x55c83399b118) at /data/src/10.7/sql/sql_connect.cc:1312
#32 0x000055c82f99102e in pfs_spawn_thread (arg=0x55c8339984e8) at /data/src/10.7/storage/perfschema/pfs.cc:2201
#33 0x00007f154c631ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#34 0x00007f154c230def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Elena Stepanova
added a comment - Here is a test case which reproduces the same assertion failure on all 10.4+. It doesn't do multi-update, so I'm not absolutely sure it's the same problem, but since they don't think there is much point in creating a new JIRA, I'll just put it here for now.
--source include/have_innodb.inc
CREATE TABLE t1 (
FTS_DOC_ID BIGINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
f INT ,
b TEXT,
UNIQUE (b),
FULLTEXT (b),
UNIQUE (f)
) ENGINE=InnoDB;
INSERT INTO t1 (f,b) VALUES (10, 'bar' ),(11, NULL );
ALTER TABLE t1 FORCE ;
START TRANSACTION ;
REPLACE INTO t1 SELECT * FROM t1;
REPLACE INTO t1 SELECT * FROM t1;
# Cleanup
DROP TABLE t1;
10.7 c62720d0
2022-02-15 00:04:46 0x7f1545518700 InnoDB: Assertion failure in file /data/src/10.7/storage/innobase/fts/fts0fts.cc line 2142
InnoDB: Failing assertion: result != FTS_INVALID
#6 0x000055c82fce320b in ut_dbg_assertion_failed (expr=0x55c8304596ac "result != FTS_INVALID", file=0x55c830458a40 "/data/src/10.7/storage/innobase/fts/fts0fts.cc", line=2142) at /data/src/10.7/storage/innobase/ut/ut0dbg.cc:60
#7 0x000055c82fe14ea6 in fts_trx_row_get_new_state (old_state=FTS_INSERT, event=FTS_INSERT) at /data/src/10.7/storage/innobase/fts/fts0fts.cc:2142
#8 0x000055c82fe152ea in fts_trx_table_add_op (ftt=0x7f14f0107e58, doc_id=2, state=FTS_INSERT, fts_indexes=0x0) at /data/src/10.7/storage/innobase/fts/fts0fts.cc:2332
#9 0x000055c82fe1545f in fts_trx_add_op (trx=0x7f15467c21e0, table=0x7f14f007a7b8, doc_id=2, state=FTS_INSERT, fts_indexes=0x0) at /data/src/10.7/storage/innobase/fts/fts0fts.cc:2379
#10 0x000055c82fc2ba53 in row_insert_for_mysql (mysql_rec=0x7f14f0b34bf8 "\376\002", prebuilt=0x7f14f0116be8, ins_mode=ROW_INS_NORMAL) at /data/src/10.7/storage/innobase/row/row0mysql.cc:1392
#11 0x000055c82fa6c087 in ha_innobase::write_row (this=0x7f14f0232cc0, record=0x7f14f0b34bf8 "\376\002") at /data/src/10.7/storage/innobase/handler/ha_innodb.cc:7878
#12 0x000055c82f69c59b in handler::ha_write_row (this=0x7f14f0232cc0, buf=0x7f14f0b34bf8 "\376\002") at /data/src/10.7/sql/handler.cc:7519
#13 0x000055c82f290938 in write_record (thd=0x7f14f0000db8, table=0x7f14f0213ea8, info=0x7f14f0017178, sink=0x0) at /data/src/10.7/sql/sql_insert.cc:1833
#14 0x000055c82f297701 in select_insert::send_data (this=0x7f14f0017128, values=...) at /data/src/10.7/sql/sql_insert.cc:4120
#15 0x000055c82f399be3 in select_result_sink::send_data_with_check (this=0x7f14f0017128, items=..., u=0x7f14f00051c0, sent=1) at /data/src/10.7/sql/sql_class.h:5605
#16 0x000055c82f37ff08 in end_send (join=0x7f14f00171e8, join_tab=0x7f14f0103bc0, end_of_records=false) at /data/src/10.7/sql/sql_select.cc:22335
#17 0x000055c82f37d412 in evaluate_join_record (join=0x7f14f00171e8, join_tab=0x7f14f0103810, error=0) at /data/src/10.7/sql/sql_select.cc:21329
#18 0x000055c82f394182 in AGGR_OP::end_send (this=0x7f14f00192e0) at /data/src/10.7/sql/sql_select.cc:29551
#19 0x000055c82f37c67e in sub_select_postjoin_aggr (join=0x7f14f00171e8, join_tab=0x7f14f0103810, end_of_records=true) at /data/src/10.7/sql/sql_select.cc:20809
#20 0x000055c82f37c9df in sub_select (join=0x7f14f00171e8, join_tab=0x7f14f0103460, end_of_records=true) at /data/src/10.7/sql/sql_select.cc:21044
#21 0x000055c82f37c162 in do_select (join=0x7f14f00171e8, procedure=0x0) at /data/src/10.7/sql/sql_select.cc:20646
#22 0x000055c82f34f77c in JOIN::exec_inner (this=0x7f14f00171e8) at /data/src/10.7/sql/sql_select.cc:4751
#23 0x000055c82f34e7f1 in JOIN::exec (this=0x7f14f00171e8) at /data/src/10.7/sql/sql_select.cc:4529
#24 0x000055c82f350122 in mysql_select (thd=0x7f14f0000db8, tables=0x7f14f00161a8, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2202245794560, result=0x7f14f0017128, unit=0x7f14f00051c0, select_lex=0x7f14f0015bd0) at /data/src/10.7/sql/sql_select.cc:5009
#25 0x000055c82f33f41b in handle_select (thd=0x7f14f0000db8, lex=0x7f14f00050e8, result=0x7f14f0017128, setup_tables_done_option=1073741824) at /data/src/10.7/sql/sql_select.cc:545
#26 0x000055c82f2e2647 in mysql_execute_command (thd=0x7f14f0000db8, is_called_from_prepared_stmt=false) at /data/src/10.7/sql/sql_parse.cc:4708
#27 0x000055c82f2ed593 in mysql_parse (thd=0x7f14f0000db8, rawbuf=0x7f14f0015400 "REPLACE INTO t1 SELECT * FROM t1", length=32, parser_state=0x7f1545517500) at /data/src/10.7/sql/sql_parse.cc:8027
#28 0x000055c82f2d9bf8 in dispatch_command (command=COM_QUERY, thd=0x7f14f0000db8, packet=0x7f14f000b989 "REPLACE INTO t1 SELECT * FROM t1", packet_length=32, blocking=true) at /data/src/10.7/sql/sql_parse.cc:1894
#29 0x000055c82f2d85b2 in do_command (thd=0x7f14f0000db8, blocking=true) at /data/src/10.7/sql/sql_parse.cc:1402
#30 0x000055c82f4a86e8 in do_handle_one_connection (connect=0x55c833998978, put_in_cache=true) at /data/src/10.7/sql/sql_connect.cc:1418
#31 0x000055c82f4a8387 in handle_one_connection (arg=0x55c83399b118) at /data/src/10.7/sql/sql_connect.cc:1312
#32 0x000055c82f99102e in pfs_spawn_thread (arg=0x55c8339984e8) at /data/src/10.7/storage/perfschema/pfs.cc:2201
#33 0x00007f154c631ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#34 0x00007f154c230def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
CREATE OR REPLACE TABLE t1 (f TEXT UNIQUE, FULLTEXT(f)) ENGINE=InnoDB;
INSERT INTO t1 VALUES ('foo');
CREATE OR REPLACE TABLE t2 (a VARCHAR(255)) ENGINE=InnoDB;
INSERT INTO t2 VALUES ('foobar'),('qux');
UPDATE t1 JOIN t2 SET f = a;
DROP TABLE t1, t2;
bug/hi.b [ pass ] 138
Aleksey Midenkov
added a comment - Does not repro on 10.5.28 7b0f59da43b:
CREATE OR REPLACE TABLE t1 (f TEXT UNIQUE, FULLTEXT(f)) ENGINE=InnoDB;
INSERT INTO t1 VALUES ('foo');
CREATE OR REPLACE TABLE t2 (a VARCHAR(255)) ENGINE=InnoDB;
INSERT INTO t2 VALUES ('foobar'),('qux');
UPDATE t1 JOIN t2 SET f = a;
DROP TABLE t1, t2;
bug/hi.b [ pass ] 138
CREATE OR REPLACE TABLE t1 (f TEXT UNIQUE, FULLTEXT(f)) ENGINE=InnoDB;
INSERT INTO t1 VALUES ('foo');
CREATE OR REPLACE TABLE t2 (a VARCHAR(255)) ENGINE=InnoDB;
INSERT INTO t2 VALUES ('foobar'),('qux');
UPDATE t1 JOIN t2 SET f = a;
DROP TABLE t1, t2;
bug/hi.b [ pass ] 138
Aleksey Midenkov
added a comment - Does not repro on 10.5.28 7b0f59da43b:
CREATE OR REPLACE TABLE t1 (f TEXT UNIQUE, FULLTEXT(f)) ENGINE=InnoDB;
INSERT INTO t1 VALUES ('foo');
CREATE OR REPLACE TABLE t2 (a VARCHAR(255)) ENGINE=InnoDB;
INSERT INTO t2 VALUES ('foobar'),('qux');
UPDATE t1 JOIN t2 SET f = a;
DROP TABLE t1, t2;
bug/hi.b [ pass ] 138
People
Nikita Malyavin
Elena Stepanova
Votes:
0Vote for this issue
Watchers:
4Start watching this issue
Dates
Created:
Updated:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":1578,"ttfb":419.2999997138977,"pageVisibility":"visible","entityId":87353,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"e92f4cd4-0e37-4d31-88d8-c5c0ae3a67f6","navigationType":0,"readyForUser":1678.8999996185303,"redirectCount":0,"resourceLoadedEnd":2306.699999809265,"resourceLoadedStart":425.09999990463257,"resourceTiming":[{"duration":663.9000000953674,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":425.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":425.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1089,"responseStart":0,"secureConnectionStart":0},{"duration":664,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":425.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":425.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1089.2999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":673.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":425.5,"connectEnd":425.5,"connectStart":425.5,"domainLookupEnd":425.5,"domainLookupStart":425.5,"fetchStart":425.5,"redirectEnd":0,"redirectStart":0,"requestStart":425.5,"responseEnd":1098.5999999046326,"responseStart":1098.5999999046326,"secureConnectionStart":425.5},{"duration":731.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":425.69999980926514,"connectEnd":425.69999980926514,"connectStart":425.69999980926514,"domainLookupEnd":425.69999980926514,"domainLookupStart":425.69999980926514,"fetchStart":425.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":425.69999980926514,"responseEnd":1156.8999996185303,"responseStart":1156.8999996185303,"secureConnectionStart":425.69999980926514},{"duration":734.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":426,"connectEnd":426,"connectStart":426,"domainLookupEnd":426,"domainLookupStart":426,"fetchStart":426,"redirectEnd":0,"redirectStart":0,"requestStart":426,"responseEnd":1160.8999996185303,"responseStart":1160.8999996185303,"secureConnectionStart":426},{"duration":735.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":426.19999980926514,"connectEnd":426.19999980926514,"connectStart":426.19999980926514,"domainLookupEnd":426.19999980926514,"domainLookupStart":426.19999980926514,"fetchStart":426.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":426.19999980926514,"responseEnd":1161.3999996185303,"responseStart":1161.3999996185303,"secureConnectionStart":426.19999980926514},{"duration":735.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":426.2999997138977,"connectEnd":426.2999997138977,"connectStart":426.2999997138977,"domainLookupEnd":426.2999997138977,"domainLookupStart":426.2999997138977,"fetchStart":426.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":426.2999997138977,"responseEnd":1161.7999997138977,"responseStart":1161.7999997138977,"secureConnectionStart":426.2999997138977},{"duration":818.3999996185303,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":426.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":426.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1244.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":735.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":426.69999980926514,"connectEnd":426.69999980926514,"connectStart":426.69999980926514,"domainLookupEnd":426.69999980926514,"domainLookupStart":426.69999980926514,"fetchStart":426.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":426.69999980926514,"responseEnd":1162.1999998092651,"responseStart":1162.1999998092651,"secureConnectionStart":426.69999980926514},{"duration":818.2000002861023,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":426.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":426.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1245,"responseStart":0,"secureConnectionStart":0},{"duration":735.7999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":427,"connectEnd":427,"connectStart":427,"domainLookupEnd":427,"domainLookupStart":427,"fetchStart":427,"redirectEnd":0,"redirectStart":0,"requestStart":427,"responseEnd":1162.7999997138977,"responseStart":1162.6999998092651,"secureConnectionStart":427},{"duration":1248.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":428.19999980926514,"connectEnd":428.19999980926514,"connectStart":428.19999980926514,"domainLookupEnd":428.19999980926514,"domainLookupStart":428.19999980926514,"fetchStart":428.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":428.19999980926514,"responseEnd":1677.0999999046326,"responseStart":1677.0999999046326,"secureConnectionStart":428.19999980926514},{"duration":1873.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":433.5,"connectEnd":433.5,"connectStart":433.5,"domainLookupEnd":433.5,"domainLookupStart":433.5,"fetchStart":433.5,"redirectEnd":0,"redirectStart":0,"requestStart":433.5,"responseEnd":2306.699999809265,"responseStart":2306.699999809265,"secureConnectionStart":433.5},{"duration":420.90000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1256.6999998092651,"connectEnd":1256.6999998092651,"connectStart":1256.6999998092651,"domainLookupEnd":1256.6999998092651,"domainLookupStart":1256.6999998092651,"fetchStart":1256.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1256.6999998092651,"responseEnd":1677.5999999046326,"responseStart":1677.5999999046326,"secureConnectionStart":1256.6999998092651},{"duration":834.7000002861023,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1565.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1565.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2400.0999999046326,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":239,"responseStart":420,"responseEnd":430,"domLoading":423,"domInteractive":2346,"domContentLoadedEventStart":2346,"domContentLoadedEventEnd":2400,"domComplete":3361,"loadEventStart":3361,"loadEventEnd":3362,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2308.3999996185303},{"name":"bigPipe.sidebar-id.end","time":2309.3999996185303},{"name":"bigPipe.activity-panel-pipe-id.start","time":2309.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":2313.8999996185303},{"name":"activityTabFullyLoaded","time":2418.199999809265}],"measures":[],"correlationId":"abc670865fe728","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":113,"dbReadsTimeInMs":14,"dbConnsTimeInMs":24,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
--source include/have_innodb.inc
f
foobar
--source include/have_innodb.inc
f
qux
I am not sure how update queries behaves differently based on unique blob index. Could be related to
MDEV-371