[Feat] Support SQLITE_DQS=0, disallow double quoted strings litterals #5197
Labels
bug
Something isn't working
enhancement
New feature or request
macOS
macOS specific
tests
Related to Test Suite
Is your feature request related to a problem? Please describe.
SQLite supported the use of double-quoted strings in string literals, to help match some old MySQL behavior. The SQL standard specifies that string literals should be single quoted, and column names double quoted.
The SQLite docs explain this, and how in hindsight it was a bad decision. But, changing is breaking for a lot of applications. They recommend building with
SQLITE_DQS=0
.https://www.sqlite.org/quirks.html#dblquote
https://www.sqlite.org/compile.html#dqs
Recently, conda-forge's sqlite 3.49.0/3.49.1 changed the build option to
SQLITE_DQS=0
, breaking our builds.For the 8.4 release branch, #5186 pinned to a previous version.
For the main branch, #5196 cherry picks the change
Describe the solution you'd like
Adapt the code, users, and tests to not need #5196 anymore, and revert that PR (unpin the conda dependency).
Describe alternatives you've considered
Wait for more breakages as that time will come for other platforms too.
Additional context
Add any other context or screenshots about the feature request here.
From their page https://www.sqlite.org/quirks.html#dblquote :
The text was updated successfully, but these errors were encountered: