Skip to content

Commit

Permalink
MariaRocks: make partition.test work on any platform
Browse files Browse the repository at this point in the history
  • Loading branch information
spetrunia committed Mar 13, 2017
1 parent 69387c6 commit 57672a8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions storage/rocksdb/mysql-test/rocksdb/r/partition.result
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ Table Op Msg_type Msg_text
test.t1 repair status OK
Table Op Msg_type Msg_text
test.t1 check status OK
select lower(table_name) as tname
from information_schema.tables
where table_schema=database()
order by tname;
tname
t1
temp0
var_pop
Expand Down
7 changes: 5 additions & 2 deletions storage/rocksdb/mysql-test/rocksdb/t/partition.test
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,11 @@ CREATE TABLE TEMP0 (a int) ENGINE = ROCKSDB PARTITION BY HASH (a) PARTITIONS 3;
CREATE TABLE VAR_SAMP (a int) ENGINE = ROCKSDB PARTITION BY HASH (a) PARTITIONS 10;

--enable_query_log
--lowercase_result
SHOW TABLES;

select lower(table_name) as tname
from information_schema.tables
where table_schema=database()
order by tname;

SELECT * FROM t1 ORDER BY i LIMIT 10;
SELECT COUNT(*) FROM t1;
Expand Down

0 comments on commit 57672a8

Please sign in to comment.