Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlite: disable DQS misfeature by default #55297

Merged
merged 1 commit into from
Oct 8, 2024

Commits on Oct 6, 2024

  1. sqlite: disable DQS misfeature by default

    Double-quoted string (DQS) literals are not allowed by the SQL standard,
    which defines that text enclosed in double quotes is to be interpreted
    as an identifier only and never as a string literal. Nevertheless, for
    historical reasons, SQLite allows double-quoted string literals in some
    cases, which leads to inconsistent behavior and subtle bugs.
    
    This commit changes the behavior of the built-in Node.js API for SQLite
    such that the DQS misfeature is disabled by default. This is recommended
    by the developers of SQLite. Users can explicitly enable DQS for
    compatibility with legacy database schemas if necessary.
    tniessen committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    00925ee View commit details
    Browse the repository at this point in the history