Skip to content

Commit 9dd32c6

Browse files
committed
apply patch
1 parent a3bb48e commit 9dd32c6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mysql2sqlite

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,10 @@ aInc == 1 && /PRIMARY KEY|primary key/ { next }
195195
if( match($0, ere_bit_field) ){
196196
sub( ere_bit_field, bit_to_int( substr( $0, RSTART +2, RLENGTH -2 -1 ) ) )
197197
}
198+
199+
#remove USING BTREE and other suffixes for USING, for example: "UNIQUE KEY `hostname_domain` (`hostname`,`domain`) USING BTREE,"
200+
gsub( / USING [^, ]+/, "" )
201+
198202
# field comments are not supported
199203
gsub( / (COMMENT|comment).+$/, "" )
200204
# Get commas off end of line

0 commit comments

Comments
 (0)