mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-15 07:55:51 +00:00
Test and quote all idents, including reserved words and those with spaces, in OSCCaptureSync.pm.
This commit is contained in:
13
t/lib/samples/osc/tbl002.sql
Normal file
13
t/lib/samples/osc/tbl002.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
DROP DATABASE IF EXISTS osc;
|
||||
CREATE DATABASE osc;
|
||||
USE osc;
|
||||
|
||||
CREATE TABLE t (
|
||||
id INT UNSIGNED PRIMARY KEY,
|
||||
`default` VARCHAR(16)
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
CREATE TABLE __new_t LIKE t;
|
||||
|
||||
INSERT INTO t VALUES (1, 'a'), (2, 'b'), (3, 'c'), (4, 'd'), (5, 'e');
|
||||
|
Reference in New Issue
Block a user