[WIP] gh-81040: use sqlite3_stmt_readonly() to detect DML statements by erlend-aasland · Pull Request #24492 · python/cpython

@coleifer

@coleifer

@coleifer

@coleifer

@berkerpeksag

@berkerpeksag

@coleifer

Also add additional assertion covering ALTER statements.
Feature added in sqlite 3.7.4, not .11.

@erlend-aasland erlend-aasland changed the title bpo-36859: use sqlite3_stmt_readonly() to detect DML statements [WIP] bpo-36859: use sqlite3_stmt_readonly() to detect DML statements

May 18, 2021

Erlend E. Aasland added 2 commits

June 5, 2021 21:00

Erlend E. Aasland added 3 commits

June 8, 2021 22:36

MaxwellDupre

@erlend-aasland erlend-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 statements

Apr 10, 2022

@coleifer coleifer mannequin mentioned this pull request

May 16, 2022