mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
5adf11250a
adjust share->stored_rec_length for LONG_UNIQUE_HASH_FIELD, just like it's done for normal virtual fields
17 lines
806 B
Text
17 lines
806 B
Text
#
|
|
# MDEV-18707 Server crash in my_hash_sort_bin, ASAN heap-use-after-free in Field::is_null, server hang, corrupted double-linked list
|
|
#
|
|
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;
|
|
--let $datadir= `SELECT @@datadir`
|
|
--remove_file $datadir/test/load.data
|