mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 07:44:22 +01:00
15 lines
No EOL
349 B
Text
15 lines
No EOL
349 B
Text
--source include/have_partition.inc
|
|
|
|
let $engine='tokudb';
|
|
|
|
--disable_warnings
|
|
DROP TABLE IF EXISTS t;
|
|
--enable_warnings
|
|
|
|
eval CREATE TABLE t (a INT) ENGINE=$engine PARTITION BY KEY (a) (PARTITION part0, PARTITION part1);
|
|
SHOW CREATE TABLE t;
|
|
|
|
ALTER TABLE t TRUNCATE PARTITION part0;
|
|
ALTER TABLE t TRUNCATE PARTITION part1;
|
|
|
|
DROP TABLE IF EXISTS t; |