Improved the sqlite3 sql statement converter.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user