mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
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:
parent
1a303f1a2b
commit
6f9ebe677b
4 changed files with 45 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue