Skip to content

Commit d14d22a

Browse files
authored
Merge pull request mysql2sqlite#78 from YogevSwisa/fix-create-table
skip only if the word CREATE is followed by the word DATABASE
2 parents f10372d + c6ab632 commit d14d22a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql2sqlite

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ inView != 0 { next }
141141
}
142142

143143
# CREATE DATABASE is not supported
144-
/^(CREATE.*DATABASE|create.*database)/ { next }
144+
/^(CREATE DATABASE|create database)/ { next }
145145

146146
# print the CREATE line as is and capture the table name
147147
/^(CREATE|create)/ {

0 commit comments

Comments
 (0)