Fix SQLite SQL queries.

Some copy-paste errors made their way to those queries and prevented usage
of pgloader, but I missed that because I was using a previous version of the
query text files in my interactive environment.

Also, SQLite doesn't like the queries finishing with a semi-colon, so remove
them.

Fixes #747.
This commit is contained in:
Dimitri Fontaine 2018-02-16 17:48:40 +01:00
parent 8e3ebd5f1e
commit 67a1b1d408
2 changed files with 2 additions and 5 deletions

View File

@ -1,4 +1 @@
-- params: table-name
select seq
from sqlite_sequence
where name = '~a';
select seq from sqlite_sequence where name = '~a'

View File

@ -3,4 +3,4 @@ SELECT tbl_name
WHERE type='table'
AND tbl_name <> 'sqlite_sequence'
~:[~*~;AND (~{~a~^~&~10t or ~})~]
~:[~*~;AND (~{~a~^~&~10t and ~})~]"
~:[~*~;AND (~{~a~^~&~10t and ~})~]