mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fixed bug with detect_fts for table with single quote in name, closes #1257
This commit is contained in:
parent
807de378d0
commit
0f1e47287c
2 changed files with 17 additions and 1 deletions
|
|
@ -547,7 +547,7 @@ def detect_fts_sql(table):
|
|||
)
|
||||
)
|
||||
""".format(
|
||||
table=table
|
||||
table=table.replace("'", "''")
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue