summaryrefslogtreecommitdiff
path: root/mysql-test/main/partition_example.result
diff options
context:
space:
mode:
authorMichael Widenius <monty@mariadb.org>2018-03-09 14:05:35 +0200
committerMonty <monty@mariadb.org>2018-03-29 13:59:44 +0300
commita7abddeffa6a760ce948c2dfb007cdf3f1a369d5 (patch)
tree70eb743fa965a17380bbc0ac88ae79ca1075b896 /mysql-test/main/partition_example.result
parentab1941266c59a19703a74b5593cf3f508a5752d7 (diff)
downloadmariadb-git-a7abddeffa6a760ce948c2dfb007cdf3f1a369d5.tar.gz
Create 'main' test directory and move 't' and 'r' there
Diffstat (limited to 'mysql-test/main/partition_example.result')
-rw-r--r--mysql-test/main/partition_example.result31
1 files changed, 31 insertions, 0 deletions
diff --git a/mysql-test/main/partition_example.result b/mysql-test/main/partition_example.result
new file mode 100644
index 00000000000..3aa1ed639ca
--- /dev/null
+++ b/mysql-test/main/partition_example.result
@@ -0,0 +1,31 @@
+install plugin example soname 'ha_example.so';
+create table t1 (a int not null)
+engine=example
+partition by list (a)
+(partition p0 values in (1), partition p1 values in (2));
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `a` int(11) NOT NULL
+) ENGINE=EXAMPLE DEFAULT CHARSET=latin1
+ PARTITION BY LIST (`a`)
+(PARTITION `p0` VALUES IN (1) ENGINE = EXAMPLE,
+ PARTITION `p1` VALUES IN (2) ENGINE = EXAMPLE)
+drop table t1;
+create table t1 (a int not null)
+engine=example ull=12340
+partition by list (a)
+(partition p0 values in (1), partition p1 values in (2));
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `a` int(11) NOT NULL
+) ENGINE=EXAMPLE DEFAULT CHARSET=latin1 `ull`=12340
+ PARTITION BY LIST (`a`)
+(PARTITION `p0` VALUES IN (1) ENGINE = EXAMPLE,
+ PARTITION `p1` VALUES IN (2) ENGINE = EXAMPLE)
+drop table t1;
+select 1;
+1
+1
+uninstall plugin example;