Skip to content

Commit

Permalink
FLASH-926: Add partition table full stack test (#460)
Browse files Browse the repository at this point in the history
* Use QA daily images

* Add partition table full stack test
  • Loading branch information
zanmato1984 authored Feb 18, 2020
1 parent e3cd21c commit 389e857
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/fullstack-test/dml/partition_table.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
mysql> drop table if exists test.t
mysql> create table test.t(i int not null, s varchar(255)) partition by range (i) (partition p0 values less than (10), partition p1 values less than (20));
mysql> alter table test.t set tiflash replica 1

SLEEP 15

mysql> insert into test.t values(1, 'abc'), (11, 'def');

SLEEP 15

mysql> select /*+ read_from_storage(tiflash[t]) */ * from test.t;
+----+------+
| i | s |
+----+------+
| 1 | abc |
| 11 | def |
+----+------+

0 comments on commit 389e857

Please # to comment.