-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
[WIP] gh-81040: use sqlite3_stmt_readonly() to detect DML statements #24492
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
Conversation
Cherry-picked from #13216 and rebased onto master. |
Also add additional assertion covering ALTER statements.
Feature added in sqlite 3.7.4, not .11.
This PR is stale because it has been open for 30 days with no activity. |
ba8d1e6
to
dce7ada
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ran 18 tests in 0.481s
OK
Other Sqlite tests also passed. Looks ok.
Need to add to Docs, not just NEWS otherwise users will not be aware.
I'm not sure this is the correct way to address to the problems in the linked issue. Closing. |
Fixes #81040