]> git.phdru.name Git - sqlconvert.git/blobdiff - tests/mysql2sql/test.out3
Fix(Py3): Use a different test file for Python 3.5+
[sqlconvert.git] / tests / mysql2sql / test.out3
diff --git a/tests/mysql2sql/test.out3 b/tests/mysql2sql/test.out3
new file mode 100644 (file)
index 0000000..462e2be
--- /dev/null
@@ -0,0 +1,20 @@
+CREATE TABLE mytable (
+  id int(10) unsigned NOT NULL AUTO_INCREMENT,
+  date datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  flag tinyint(4) NOT NULL DEFAULT '0',
+  PRIMARY KEY (id),
+  UNIQUE KEY date (date)
+) ENGINE="InnoDB" DEFAULT CHARSET=utf8;
+INSERT INTO /* inline comment */ mytable VALUES (1, 'ั‚ะตัั‚');
+SELECT * FROM mytable; -- line-comment"
+
+;
+INSERT INTO "MyTable" ("Id", "Name")
+VALUES (1, 'one');
+INSERT INTO mytable VALUES (1, 'one');
+
+INSERT INTO mytable VALUES (2, 'two');
+INSERT INTO mytable (id, name) VALUES (1, 'one');
+
+INSERT INTO mytable (id, name) VALUES (2, 'two');
+-- The end