SQLite Forum

sqlite3_stmt_readonly is dependent on the current database
Login
I think returning either `FALSE` or `MAYBE` for `CREATE TABLE` statements is desirable behavior. At least, it's important for people to be able to detect these situations as "potentially mutating the database" instead of incorrectly assuming "will not mutate the database".

I suggest implementing `sqlite3_stmt_readonly_v2()` to maintain legacy compatibility.