Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.4(EOL)
-
None
Description
CREATE TABLE t1 (f INT, x BLOB, UNIQUE (x)); |
INSERT INTO t1 VALUES (1,'foo'); |
--error ER_ALTER_OPERATION_NOT_SUPPORTED,ER_ALTER_OPERATION_NOT_SUPPORTED_REASON
|
ALTER TABLE t1 DROP x, ALGORITHM=INPLACE; |
UPDATE t1 SET x = 'bar'; |
|
# Cleanup
|
DROP TABLE t1; |
10.4 3b47587f |
#3 <signal handler called>
|
#4 0x000055d1c2109863 in fields_in_hash_keyinfo (keyinfo=0x7f71a813cc88) at /data/src/10.4/sql/table.cc:8971
|
#5 0x000055d1c232c00d in check_duplicate_long_entries_update (table=0x7f71a812e020, h=0x7f71a813c4e8, new_rec=0x7f71a80428b0 "\370\001") at /data/src/10.4/sql/handler.cc:6624
|
#6 0x000055d1c232c6e1 in handler::ha_update_row (this=0x7f71a813c4e8, old_data=0x7f71a80428c8 "\370\001", new_data=0x7f71a80428b0 "\370\001") at /data/src/10.4/sql/handler.cc:6706
|
#7 0x000055d1c20e061d in mysql_update (thd=0x7f71a8000b00, table_list=0x7f71a8015580, fields=..., values=..., conds=0x0, order_num=0, order=0x0, limit=18446744073709551615, handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7f71bf057840, updated_return=0x7f71bf057900) at /data/src/10.4/sql/sql_update.cc:1017
|
#8 0x000055d1c1fdc159 in mysql_execute_command (thd=0x7f71a8000b00) at /data/src/10.4/sql/sql_parse.cc:4647
|
#9 0x000055d1c1fe8636 in mysql_parse (thd=0x7f71a8000b00, rawbuf=0x7f71a80154a8 "UPDATE t1 SET x = 'bar'", length=23, parser_state=0x7f71bf058180, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8157
|
#10 0x000055d1c1fd3d24 in dispatch_command (command=COM_QUERY, thd=0x7f71a8000b00, packet=0x7f71a800a761 "UPDATE t1 SET x = 'bar'", packet_length=23, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1829
|
#11 0x000055d1c1fd24f8 in do_command (thd=0x7f71a8000b00) at /data/src/10.4/sql/sql_parse.cc:1358
|
#12 0x000055d1c214c003 in do_handle_one_connection (connect=0x55d1c4cffbb0) at /data/src/10.4/sql/sql_connect.cc:1399
|
#13 0x000055d1c214bd74 in handle_one_connection (arg=0x55d1c4cffbb0) at /data/src/10.4/sql/sql_connect.cc:1302
|
#14 0x000055d1c2642d17 in pfs_spawn_thread (arg=0x55d1c4df2220) at /data/src/10.4/storage/perfschema/pfs.cc:1862
|
#15 0x00007f71cabf4494 in start_thread (arg=0x7f71bf059700) at pthread_create.c:333
|
#16 0x00007f71c8fda93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
10.4 3b47587f ASAN |
==27000==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x5575459b12f0 sp 0x7f9195fb5170 bp 0x7f9195fb5190 T5)
|
#0 0x5575459b12ef in fields_in_hash_keyinfo(st_key*) /data/src/10.4/sql/table.cc:8971
|
#1 0x557545e835e3 in check_duplicate_long_entries_update /data/src/10.4/sql/handler.cc:6624
|
#2 0x557545e848e6 in handler::ha_update_row(unsigned char const*, unsigned char const*) /data/src/10.4/sql/handler.cc:6706
|
#3 0x557545947270 in mysql_update(THD*, TABLE_LIST*, List<Item>&, List<Item>&, Item*, unsigned int, st_order*, unsigned long long, enum_duplicates, bool, unsigned long long*, unsigned long long*) /data/src/10.4/sql/sql_update.cc:1017
|
#4 0x5575456c8f3a in mysql_execute_command(THD*) /data/src/10.4/sql/sql_parse.cc:4647
|
#5 0x5575456e0996 in mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) /data/src/10.4/sql/sql_parse.cc:8157
|
#6 0x5575456b8b9f in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) /data/src/10.4/sql/sql_parse.cc:1829
|
#7 0x5575456b59a0 in do_command(THD*) /data/src/10.4/sql/sql_parse.cc:1358
|
#8 0x557545a490d3 in do_handle_one_connection(CONNECT*) /data/src/10.4/sql/sql_connect.cc:1399
|
#9 0x557545a48acc in handle_one_connection /data/src/10.4/sql/sql_connect.cc:1302
|
#10 0x557546612dae in pfs_spawn_thread /data/src/10.4/storage/perfschema/pfs.cc:1862
|
#11 0x7f91a1336493 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7493)
|
#12 0x7f919f71c93e in __clone (/lib/x86_64-linux-gnu/libc.so.6+0xe893e)
|
|
AddressSanitizer can not provide additional info.
|
SUMMARY: AddressSanitizer: SEGV /data/src/10.4/sql/table.cc:8971 fields_in_hash_keyinfo(st_key*)
|
Thread T5 created by T0 here:
|
#0 0x7f91a156fbba in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x23bba)
|
#1 0x557546613376 in spawn_thread_v1 /data/src/10.4/storage/perfschema/pfs.cc:1912
|
#2 0x5575454034a6 in inline_mysql_thread_create /data/src/10.4/include/mysql/psi/mysql_thread.h:1268
|
#3 0x5575454185b2 in create_thread_to_handle_connection(CONNECT*) /data/src/10.4/sql/mysqld.cc:6133
|
#4 0x557545418cb7 in create_new_thread(CONNECT*) /data/src/10.4/sql/mysqld.cc:6203
|
#5 0x557545419047 in handle_accepted_socket(st_mysql_socket, st_mysql_socket) /data/src/10.4/sql/mysqld.cc:6301
|
#6 0x557545419c93 in handle_connections_sockets() /data/src/10.4/sql/mysqld.cc:6459
|
#7 0x557545417ded in mysqld_main(int, char**) /data/src/10.4/sql/mysqld.cc:5791
|
#8 0x55754540132f in main /data/src/10.4/sql/main.cc:25
|
#9 0x7f919f6542b0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202b0)
|
|
==27000==ABORTING
|
Attachments
Issue Links
- is caused by
-
MDEV-371 Unique indexes for blobs
- Closed
- relates to
-
MDEV-32668 tables with UNIQUE blob columns cannot be alter_algorithm=INSTANT modified
- Open