mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-25 21:54:48 +00:00
Do not ever create --new-table. Rewrite basics.t. Add more debug statements.
This commit is contained in:
30
t/pt-online-schema-change/samples/basic_no_fks.sql
Normal file
30
t/pt-online-schema-change/samples/basic_no_fks.sql
Normal file
@@ -0,0 +1,30 @@
|
||||
DROP DATABASE IF EXISTS pt_osc;
|
||||
CREATE DATABASE pt_osc;
|
||||
USE pt_osc;
|
||||
CREATE TABLE t (
|
||||
id int auto_increment primary key,
|
||||
c char(16),
|
||||
d date,
|
||||
unique index (c(16))
|
||||
) ENGINE=MyISAM;
|
||||
INSERT INTO pt_osc.t VALUES
|
||||
(null, 'a', now()),
|
||||
(null, 'b', now()),
|
||||
(null, 'c', now()),
|
||||
(null, 'd', now()),
|
||||
(null, 'e', now()),
|
||||
(null, 'f', now()),
|
||||
(null, 'g', now()),
|
||||
(null, 'h', now()),
|
||||
(null, 'i', now()),
|
||||
(null, 'j', now()), -- 10
|
||||
(null, 'k', now()),
|
||||
(null, 'l', now()),
|
||||
(null, 'm', now()),
|
||||
(null, 'n', now()),
|
||||
(null, 'o', now()),
|
||||
(null, 'p', now()),
|
||||
(null, 'q', now()),
|
||||
(null, 'r', now()),
|
||||
(null, 's', now()),
|
||||
(null, 't', now()); -- 20
|
Reference in New Issue
Block a user