mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-17 17:27:57 +00:00
Add lib/, t/lib/, and sandbox/. All modules are updated and passing on MySQL 5.1.
This commit is contained in:
20
t/lib/samples/CopyRowsNormalized/tbls001.sql
Normal file
20
t/lib/samples/CopyRowsNormalized/tbls001.sql
Normal file
@@ -0,0 +1,20 @@
|
||||
DROP DATABASE IF EXISTS test;
|
||||
CREATE DATABASE test;
|
||||
use test;
|
||||
CREATE TABLE a (
|
||||
id int primary key, -- doesn't map
|
||||
c varchar(16)
|
||||
);
|
||||
|
||||
INSERT INTO a VALUES
|
||||
(1, 'a'), (2, 'b'), (3, 'c'), (4, 'd'), (5, 'e');
|
||||
|
||||
CREATE TABLE b (
|
||||
b_id int auto_increment primary key,
|
||||
c varchar(16)
|
||||
);
|
||||
|
||||
CREATE TABLE c (
|
||||
c_id int auto_increment primary key,
|
||||
c varchar(16)
|
||||
);
|
Reference in New Issue
Block a user