mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-18707 Server crash in my_hash_sort_bin, ASAN heap-use-after-free in Field::is_null, server hang, corrupted double-linked list
adjust share->stored_rec_length for LONG_UNIQUE_HASH_FIELD, just like it's done for normal virtual fields
This commit is contained in:
12
mysql-test/main/long_unique_bugs.result
Normal file
12
mysql-test/main/long_unique_bugs.result
Normal file
@@ -0,0 +1,12 @@
|
||||
create table t1 (a int, b int, c int, d int, e int);
|
||||
insert into t1 () values
|
||||
(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),
|
||||
(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),
|
||||
(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),
|
||||
(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),(),
|
||||
(),(),(),();
|
||||
select * into outfile 'load.data' from t1;
|
||||
create temporary table tmp (a varchar(1024), b int, c int, d int, e linestring, unique (e));
|
||||
load data infile 'load.data' into table tmp;
|
||||
delete from tmp;
|
||||
drop table t1;
|
Reference in New Issue
Block a user