Current Path : /home/usr.opt/mysql57/mysql-test/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/r/partition_truncate.result |
drop table if exists t1, t2, t3, t4; create table t1 (a int) partition by list (a) (partition p1 values in (0)); alter table t1 truncate partition p1,p1; alter table t1 truncate partition p0; ERROR HY000: Unknown partition 'p0' in table 't1' drop table t1; create table t1 (a int) partition by list (a) subpartition by hash (a) subpartitions 1 (partition p1 values in (1) (subpartition sp1)); alter table t1 truncate partition sp1; drop table t1; create table t1 (a int); insert into t1 values (1), (3), (8); alter table t1 truncate partition p0; ERROR HY000: Partition management on a not partitioned table is not possible select count(*) from t1; count(*) 3 drop table t1;