mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix test results to account for difference between release BDB, debug BDB and MyISAM.
This commit is contained in:
@ -66,18 +66,26 @@ select count(*) from t1 where v like 'a%';
|
||||
select count(*) from t1 where c like 'a%';
|
||||
select count(*) from t1 where t like 'a%';
|
||||
select count(*) from t1 where v like 'a %';
|
||||
# Test results differ for BDB, see comments in bdb.test
|
||||
# and they are also different from MySAM test results.
|
||||
--replace_column 9 #
|
||||
explain select count(*) from t1 where v='a ';
|
||||
--replace_column 9 #
|
||||
explain select count(*) from t1 where c='a ';
|
||||
--replace_column 9 #
|
||||
explain select count(*) from t1 where t='a ';
|
||||
--replace_column 9 #
|
||||
explain select count(*) from t1 where v like 'a%';
|
||||
--replace_column 9 #
|
||||
explain select count(*) from t1 where v between 'a' and 'a ';
|
||||
--replace_column 9 #
|
||||
explain select count(*) from t1 where v between 'a' and 'a ' and v between 'a ' and 'b\n';
|
||||
|
||||
--error 1062
|
||||
alter table t1 add unique(v);
|
||||
alter table t1 add key(v);
|
||||
select concat('*',v,'*',c,'*',t,'*') as qq from t1 where v='a';
|
||||
--replace_column 6 #
|
||||
--replace_column 6 # 9 #
|
||||
explain select * from t1 where v='a';
|
||||
|
||||
# GROUP BY
|
||||
@ -106,10 +114,15 @@ select count(*) from t1 where v between 'a' and 'a ';
|
||||
select count(*) from t1 where v between 'a' and 'a ' and v between 'a ' and 'b\n';
|
||||
select count(*) from t1 where v like 'a%';
|
||||
select count(*) from t1 where v like 'a %';
|
||||
--replace_column 9 #
|
||||
explain select count(*) from t1 where v='a ';
|
||||
--replace_column 9 #
|
||||
explain select count(*) from t1 where v like 'a%';
|
||||
--replace_column 9 #
|
||||
explain select count(*) from t1 where v between 'a' and 'a ';
|
||||
--replace_column 9 #
|
||||
explain select count(*) from t1 where v between 'a' and 'a ' and v between 'a ' and 'b\n';
|
||||
--replace_column 9 #
|
||||
explain select * from t1 where v='a';
|
||||
|
||||
# GROUP BY
|
||||
@ -130,10 +143,15 @@ select count(*) from t1 where v between 'a' and 'a ';
|
||||
select count(*) from t1 where v between 'a' and 'a ' and v between 'a ' and 'b\n';
|
||||
select count(*) from t1 where v like 'a%';
|
||||
select count(*) from t1 where v like 'a %';
|
||||
--replace_column 9 #
|
||||
explain select count(*) from t1 where v='a ';
|
||||
--replace_column 9 #
|
||||
explain select count(*) from t1 where v like 'a%';
|
||||
--replace_column 9 #
|
||||
explain select count(*) from t1 where v between 'a' and 'a ';
|
||||
--replace_column 9 #
|
||||
explain select count(*) from t1 where v between 'a' and 'a ' and v between 'a ' and 'b\n';
|
||||
--replace_column 9 #
|
||||
explain select * from t1 where v='a';
|
||||
|
||||
# GROUP BY
|
||||
|
Reference in New Issue
Block a user