summaryrefslogtreecommitdiff
path: root/mysql-test/suite/parts/inc/partition_binary.inc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-12-14 18:58:52 +0100
committerSergei Golubchik <serg@mariadb.org>2015-12-15 20:25:04 +0100
commit7a2136433280fa5c38997bbd4b41121b8e727ca0 (patch)
tree3c4974b3d98f69450a234fa7ab04cab3ec8c6fd7 /mysql-test/suite/parts/inc/partition_binary.inc
parent15f7f5c6bb4eb8ee8d868bb991f25b18d36f64ec (diff)
downloadmariadb-git-7a2136433280fa5c38997bbd4b41121b8e727ca0.tar.gz
after-merge fix partitioning tests
* use --sort_result in test files as needed * remove old and wrong mariadb-5.3 related partitioning hack from ha_tokudb.cc
Diffstat (limited to 'mysql-test/suite/parts/inc/partition_binary.inc')
-rw-r--r--mysql-test/suite/parts/inc/partition_binary.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/suite/parts/inc/partition_binary.inc b/mysql-test/suite/parts/inc/partition_binary.inc
index 08db71b6483..21e9635c036 100644
--- a/mysql-test/suite/parts/inc/partition_binary.inc
+++ b/mysql-test/suite/parts/inc/partition_binary.inc
@@ -8,11 +8,13 @@ partition pa3 max_rows=30 min_rows=4,
partition pa4 max_rows=40 min_rows=2);
show create table t1;
insert into t1 values (repeat('a',255)), ('b'), (repeat('a',128)), (repeat('b',64));
+--sorted_result
select hex(a) from t1;
select a from t1 where substr(a,1,2)='b\0';
update t1 set a='cc' where substr(a,1,2)= 'b\0';
select a from t1 where substr(a,1,1)='c';
delete from t1 where substr(a,1,2)='cc';
+--sorted_result
select hex(a) from t1;
drop table t1;
@@ -33,6 +35,7 @@ inc $letter;
commit;
--enable_query_log
select count(*) from t2;
+--sorted_result
select hex(a) from t2;
drop table t2;