Fixed bug with detect_fts for table with single quote in name, closes #1257

This commit is contained in:
Simon Willison 2021-06-01 20:27:04 -07:00
commit 0f1e47287c
2 changed files with 17 additions and 1 deletions

View file

@ -547,7 +547,7 @@ def detect_fts_sql(table):
)
)
""".format(
table=table
table=table.replace("'", "''")
)