summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite/php_pdo_sqlite_int.h
diff options
context:
space:
mode:
authorBohwaZ <bohwaz@users.noreply.github.com>2018-08-01 17:45:20 -0400
committerAdam Baratz <adambaratz@php.net>2018-08-01 17:45:20 -0400
commit6f9ebe677bf31d0c64046f18e6b0ac75340cb93e (patch)
treefd0049c804cb37a7558c3ee8a42485d12a551d82 /ext/pdo_sqlite/php_pdo_sqlite_int.h
parent1a303f1a2b6ed8853fea3a2079999eef7f462d86 (diff)
downloadphp-git-6f9ebe677bf31d0c64046f18e6b0ac75340cb93e.tar.gz
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.
Diffstat (limited to 'ext/pdo_sqlite/php_pdo_sqlite_int.h')
-rw-r--r--ext/pdo_sqlite/php_pdo_sqlite_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo_sqlite/php_pdo_sqlite_int.h b/ext/pdo_sqlite/php_pdo_sqlite_int.h
index 7e9a97cf88..2cd855e75b 100644
--- a/ext/pdo_sqlite/php_pdo_sqlite_int.h
+++ b/ext/pdo_sqlite/php_pdo_sqlite_int.h
@@ -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