mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
Bug#34225: test suit parts uses /tmp-dir
Since it used /tmp-dir, it continues to fail on the same server until the /tmp-dir is cleaned. (Another problem was that it uses DATA/INDEX DIR without checking for symlink, which is needed) Solution: Moved all DATA/INDEX DIR test to a new partition_basic_symlink.inc file and use this for myisam and innodb, also requiring symlinks and not_windows. (i.e. removed DATA/INDEX DIR use from several tests)
This commit is contained in:
@@ -1,21 +1,9 @@
|
||||
--disable_query_log
|
||||
# DATA DIRECTORY
|
||||
eval SET @data_dir = 'DATA DIRECTORY =
|
||||
''/tmp''';
|
||||
let $data_directory = `select @data_dir`;
|
||||
|
||||
#INDEX DIRECTORY
|
||||
eval SET @indx_dir = 'INDEX DIRECTORY =
|
||||
''/tmp''';
|
||||
let $index_directory = `select @indx_dir`;
|
||||
--enable_query_log
|
||||
|
||||
eval create table t1 (a datetime not null, primary key(a)) engine=$engine
|
||||
partition by key (a) (
|
||||
partition pa1 $data_directory $index_directory max_rows=20 min_rows=2,
|
||||
partition pa2 $data_directory $index_directory max_rows=30 min_rows=3,
|
||||
partition pa3 $data_directory $index_directory max_rows=30 min_rows=4,
|
||||
partition pa4 $data_directory $index_directory max_rows=40 min_rows=2);
|
||||
partition pa1 max_rows=20 min_rows=2,
|
||||
partition pa2 max_rows=30 min_rows=3,
|
||||
partition pa3 max_rows=30 min_rows=4,
|
||||
partition pa4 max_rows=40 min_rows=2);
|
||||
show create table t1;
|
||||
insert into t1 values ('1975-01-01 21:21:21'), ('2020-12-31 12:10:30'), ('1980-10-14 03:03'), ('2000-06-15 23:59');
|
||||
select * from t1;
|
||||
|
Reference in New Issue
Block a user