summaryrefslogtreecommitdiff
path: root/mysql-test/main/partition_example.result
blob: df5c9c7522e5cb12de16ad2f88d3c04bc03eb061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 COLLATE=latin1_swedish_ci
 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 COLLATE=latin1_swedish_ci `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;