Stop using double quoted string literals in SQL#2616
Stop using double quoted string literals in SQL#2616tuffnatty wants to merge 4 commits intosimonw:mainfrom
Conversation
|
One of these changes probably needs some discussion. It's c6a47e8. Before disabling double-quoted string literals, passing extra query string parameters not matching any known column name would add always-false WHERE clauses to SQL, e.g.: Here I have chosen to ignore query string parameters not matching any known column. It changes the existing behaviour. Another option is to return an error. I am not sure returning an empty result set is a behaviour worth keeping. |
b4325fc to
76c0c1e
Compare
…ey don't degrade to string comparisons
76c0c1e to
0fb1b9f
Compare
|
I have switched from compiling SQLite3 with |
|
Hi @simonw , should I rebase this PR on the master branch fixing the new conflicts and keep supporting it, or should I bury hopes that one day datasette will switch to standard string quoting? More and more distributions switch to compiling SQLite with Looking forward to hearing from you. |
This PR addresses the problem in #2001 and #2473, which is also touched by #2004 and #2474.
The failing tests are failing in the current main as well.
📚 Documentation preview 📚: https://datasette--2616.org.readthedocs.build/en/2616/