Improved the sqlite3 sql statement converter.

This commit is contained in:
Jocelyn Fiat
2017-10-17 13:40:32 +02:00
parent 375b53c677
commit e445696698

View File

@@ -457,12 +457,12 @@ feature -- Conversion
until until
i = 0 i = 0
loop loop
i := a_statement.substring_index ("AUTO_INCREMENT", i) i := a_statement.substring_index ("KEY AUTO_INCREMENT", i)
if i > 0 then if i > 0 then
if Result = a_statement then if Result = a_statement then
create Result.make_from_string (a_statement) create Result.make_from_string (a_statement)
end end
Result.remove (i + 4) Result.remove (i + 8)
i := i + 14 i := i + 14
end end
end end