mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-28 08:51:44 +00:00
PT-244 Fixed --data-dir with partitions
Made DATA DIRECTORY to be inserted at the correct place, not at the end of the create table query.
This commit is contained in:
10
t/pt-online-schema-change/samples/pt-244.sql
Normal file
10
t/pt-online-schema-change/samples/pt-244.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
DROP DATABASE IF EXISTS test;
|
||||
CREATE DATABASE test;
|
||||
USE test;
|
||||
|
||||
|
||||
CREATE TABLE t3 (
|
||||
c INT PRIMARY KEY AUTO_INCREMENT
|
||||
) ENGINE=InnoDB PARTITION BY HASH(c) PARTITIONS 4;
|
||||
|
||||
INSERT INTO t3 VALUES (1), (2), (3), (4), (5);
|
Reference in New Issue
Block a user