mariadb/mysql-test/r/partition_example.result
Sergei Golubchik dd8f931957 be less annoying about sysvar-based table attributes
do not *always* add them to the create table definition,
but only when a sysvar value is different from a default.

also, when adding them - don't quote numbers
2015-04-10 02:36:54 +02:00

31 lines
901 B
Text

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
/*!50100 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
/*!50100 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;