/ View Ticket
Ticket UUID: a589ec069e3ba3c9791d301060b995777f1c9a24
Title: sqlite3_stmt_readonly() returns an incorrect value for come PRAGMAs
Status: Fixed Type: Code_Defect
Severity: Important Priority: Immediate
Subsystem: Unknown Resolution: Fixed
Last Modified: 2013-06-27 17:40:44
Version Found In: 3.7.17
User Comments:
drh added on 2013-06-27 17:03:44:

The sqlite3_stmt_readonly() interface returns non-zero (true) for these statements, even though these statements will potentially modify the database file:

PRAGMA journal_mode=WAL;
PRAGMA wal_checkpoint;