Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.5
-
None
Description
CREATE TABLE t1 (f INT, s DATE, e DATE, PERIOD FOR p(s,e), UNIQUE(f, p WITHOUT OVERLAPS)) ENGINE=MyISAM; |
INSERT INTO t1 VALUES (1,'1988-08-25','2024-03-06'); |
CREATE TABLE t2 (a INT) ENGINE=MyISAM; |
INSERT INTO t2 VALUES (1),(2); |
|
UPDATE t1 JOIN t2 SET s = '2020-01-01'; |
|
# Cleanup
|
DROP TABLE t1, t2; |
10.5 3ea05d08 |
mariadbd: /data/src/10.5/sql/handler.cc:6851: int handler::ha_check_overlaps(const uchar*, const uchar*): Assertion `inited != NONE' failed.
|
200520 0:34:18 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007f354a3a9f12 in __GI___assert_fail (assertion=0x5555a2e7a10a "inited != NONE", file=0x5555a2e77afe "/data/src/10.5/sql/handler.cc", line=6851, function=0x5555a2e7c6a0 <handler::ha_check_overlaps(unsigned char const*, unsigned char const*)::__PRETTY_FUNCTION__> "int handler::ha_check_overlaps(const uchar*, const uchar*)") at assert.c:101
|
#8 0x00005555a225d4b9 in handler::ha_check_overlaps (this=0x7f35341ac470, old_data=0x7f3534212178 "\375\001", new_data=0x7f3534212168 "\375\001") at /data/src/10.5/sql/handler.cc:6851
|
#9 0x00005555a225e2c8 in handler::ha_update_row (this=0x7f35341ac470, old_data=0x7f3534212178 "\375\001", new_data=0x7f3534212168 "\375\001") at /data/src/10.5/sql/handler.cc:7024
|
#10 0x00005555a201daf1 in multi_update::send_data (this=0x7f3534015268, not_used_values=...) at /data/src/10.5/sql/sql_update.cc:2530
|
#11 0x00005555a1f9274d in select_result_sink::send_data_with_check (this=0x7f3534015268, items=..., u=0x7f3534004b28, sent=0) at /data/src/10.5/sql/sql_class.h:5237
|
#12 0x00005555a1f7968e in end_send (join=0x7f3534015340, join_tab=0x7f35340183c8, end_of_records=false) at /data/src/10.5/sql/sql_select.cc:21807
|
#13 0x00005555a1f76d22 in evaluate_join_record (join=0x7f3534015340, join_tab=0x7f3534018020, error=0) at /data/src/10.5/sql/sql_select.cc:20838
|
#14 0x00005555a1f765e3 in sub_select (join=0x7f3534015340, join_tab=0x7f3534018020, end_of_records=false) at /data/src/10.5/sql/sql_select.cc:20615
|
#15 0x00005555a1f75a42 in do_select (join=0x7f3534015340, procedure=0x0) at /data/src/10.5/sql/sql_select.cc:20149
|
#16 0x00005555a1f497d5 in JOIN::exec_inner (this=0x7f3534015340) at /data/src/10.5/sql/sql_select.cc:4464
|
#17 0x00005555a1f48901 in JOIN::exec (this=0x7f3534015340) at /data/src/10.5/sql/sql_select.cc:4245
|
#18 0x00005555a1f4a032 in mysql_select (thd=0x7f3534000b18, tables=0x7f3534013a48, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2200096997504, result=0x7f3534015268, unit=0x7f3534004b28, select_lex=0x7f3534005328) at /data/src/10.5/sql/sql_select.cc:4669
|
#19 0x00005555a201b927 in mysql_multi_update (thd=0x7f3534000b18, table_list=0x7f3534013a48, fields=0x7f3534005478, values=0x7f35340059f0, conds=0x0, options=0, handle_duplicates=DUP_ERROR, ignore=false, unit=0x7f3534004b28, select_lex=0x7f3534005328, result=0x7f3544f47050) at /data/src/10.5/sql/sql_update.cc:1929
|
#20 0x00005555a1ef8137 in mysql_execute_command (thd=0x7f3534000b18) at /data/src/10.5/sql/sql_parse.cc:4439
|
#21 0x00005555a1f0402c in mysql_parse (thd=0x7f3534000b18, rawbuf=0x7f3534013950 "UPDATE t1 JOIN t2 SET s = '2020-01-01'", length=38, parser_state=0x7f3544f47520, is_com_multi=false, is_next_command=false) at /data/src/10.5/sql/sql_parse.cc:7957
|
#22 0x00005555a1ef0334 in dispatch_command (command=COM_QUERY, thd=0x7f3534000b18, packet=0x7f35341b0329 "UPDATE t1 JOIN t2 SET s = '2020-01-01'", packet_length=38, is_com_multi=false, is_next_command=false) at /data/src/10.5/sql/sql_parse.cc:1840
|
#23 0x00005555a1eeeac6 in do_command (thd=0x7f3534000b18) at /data/src/10.5/sql/sql_parse.cc:1359
|
#24 0x00005555a20920e3 in do_handle_one_connection (connect=0x5555a67e4528, put_in_cache=true) at /data/src/10.5/sql/sql_connect.cc:1411
|
#25 0x00005555a2091e4b in handle_one_connection (arg=0x5555a67e4528) at /data/src/10.5/sql/sql_connect.cc:1313
|
#26 0x00005555a25c79a6 in pfs_spawn_thread (arg=0x5555a67f46b8) at /data/src/10.5/storage/perfschema/pfs.cc:2201
|
#27 0x00007f354c3324a4 in start_thread (arg=0x7f3544f48700) at pthread_create.c:456
|
#28 0x00007f354a466d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
|
No obvious problem on a non-debug build.
Attachments
Issue Links
- relates to
-
MDEV-23354 Assertion `inited != NONE' failed in handler::ha_check_overlaps
- Open