Skip to content

Conversation

@erlend-aasland
Copy link
Contributor

@erlend-aaslanderlend-aasland commented Feb 9, 2021

Fixes#81040

@erlend-aasland
Copy link
ContributorAuthor

Cherry-picked from #13216 and rebased onto master.

cc. @berkerpeksag@coleifer@serhiy-storchaka

@erlend-aaslanderlend-aasland marked this pull request as draft March 2, 2021 09:15
@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actionsgithub-actionsbot added the stale Stale PR or inactive for long period of time. label Apr 2, 2021
@erlend-aaslanderlend-aasland changed the title bpo-36859: use sqlite3_stmt_readonly() to detect DML statements[WIP] bpo-36859: use sqlite3_stmt_readonly() to detect DML statementsMay 18, 2021
@erlend-aaslanderlend-aaslandforce-pushed the bpo-36859 branch 3 times, most recently from ba8d1e6 to dce7adaCompareJune 5, 2021 21:27
Copy link
Contributor

@MaxwellDupreMaxwellDupre left a 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.

@erlend-aaslanderlend-aasland changed the title [WIP] bpo-36859: use sqlite3_stmt_readonly() to detect DML statements[WIP] gh-81040: use sqlite3_stmt_readonly() to detect DML statementsApr 10, 2022
@erlend-aasland
Copy link
ContributorAuthor

I'm not sure this is the correct way to address to the problems in the linked issue. Closing.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core reviewstaleStale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sqlite3 dml statement detection does not account for CTEs

6 participants

@erlend-aasland@MaxwellDupre@the-knights-who-say-ni@bedevere-bot@coleifer@berkerpeksag