Add \PDO::SQLITE_ATTR_READONLY_STATEMENT

This attribute is a boolean value. It is taken from the return value of
sqlite3_stmt_readonly(), indicating if and only if the prepared statement makes
no direct changes to the content of the database.
This commit is contained in:
BohwaZ 2018-08-01 17:45:20 -04:00 committed by Adam Baratz
parent 1a303f1a2b
commit 6f9ebe677b
4 changed files with 45 additions and 1 deletions

View file

@ -76,6 +76,7 @@ extern const struct pdo_stmt_methods sqlite_stmt_methods;
enum {
PDO_SQLITE_ATTR_OPEN_FLAGS = PDO_ATTR_DRIVER_SPECIFIC,
PDO_SQLITE_ATTR_READONLY_STATEMENT
};
#endif