We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 429f4b6 commit 35765d2Copy full SHA for 35765d2
mysql2sqlite
@@ -100,6 +100,9 @@ inView != 0 { next }
100
# skip comments
101
/^\/\*/ { next }
102
103
+# skip PARTITION statements
104
+/^ *[(]?(PARTITION|partition) +[^ ]+/ { next }
105
+
106
# print all INSERT lines
107
( /^ *\(/ && /\) *[,;] *$/ ) || /^(INSERT|insert)/ {
108
prev = ""
unit_tests.sh
@@ -95,5 +95,11 @@ LOCK TABLES `AAAA` WRITE;
95
UNLOCK TABLES;
96
SQL
97
98
+cat <<\SQL
99
+/*!50100 PARTITION BY RANGE (YEAR(date))
+(PARTITION p6 VALUES LESS THAN (2012) ENGINE = InnoDB,
+ PARTITION p7 VALUES LESS THAN (2013) ENGINE = InnoDB)
+SQL
cat <<\SQL
0 commit comments