Fixed bug with detecting FTS tables

Closes #135
This commit is contained in:
Simon Willison 2017-12-06 20:54:25 -08:00
commit 709f4f2798
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52
2 changed files with 3 additions and 1 deletions

View file

@ -300,7 +300,7 @@ def detect_fts_sql(table):
sql like '%VIRTUAL TABLE%USING FTS%content="{table}"%'
or (
tbl_name = "{table}"
and sql not like 'CREATE VIEW%'
and sql like '%VIRTUAL TABLE%USING FTS%'
)
)
'''.format(table=table)