mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
5adf11250a
adjust share->stored_rec_length for LONG_UNIQUE_HASH_FIELD, just like it's done for normal virtual fields
12 lines
596 B
Text
12 lines
596 B
Text
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;
|