mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
8b941ba52c
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)
16 lines
597 B
SQL
16 lines
597 B
SQL
eval create table t1 (a date not null, b varchar(50) not null, c varchar(50) not null, d enum('m', 'w'), primary key(a,b,c,d)) engine=$engine
|
|
partition by key (a,b,c,d) (
|
|
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', 'abcde', 'abcde','m'),
|
|
('1983-12-31', 'cdef', 'srtbvsr', 'w'),
|
|
('1980-10-14', 'fgbbd', 'dtzndtz', 'w'),
|
|
('2000-06-15', 'jukg','zikhuk','m');
|
|
select * from t1;
|
|
select * from t1 where a<19851231;
|
|
drop table t1;
|
|
|