From ed2f6510da7c68b5690c60344cbb9fe73241592a Mon Sep 17 00:00:00 2001 From: BohwaZ Date: Mon, 4 Sep 2017 11:02:12 +1200 Subject: Add support for SQLite open flags --- ext/pdo_sqlite/php_pdo_sqlite_int.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ext/pdo_sqlite/php_pdo_sqlite_int.h') diff --git a/ext/pdo_sqlite/php_pdo_sqlite_int.h b/ext/pdo_sqlite/php_pdo_sqlite_int.h index a390d6497f..1c90416b9f 100644 --- a/ext/pdo_sqlite/php_pdo_sqlite_int.h +++ b/ext/pdo_sqlite/php_pdo_sqlite_int.h @@ -75,4 +75,9 @@ extern int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, #define pdo_sqlite_error_stmt(s) _pdo_sqlite_error(stmt->dbh, stmt, __FILE__, __LINE__) extern struct pdo_stmt_methods sqlite_stmt_methods; + +enum { + PDO_SQLITE_ATTR_OPEN_FLAGS = PDO_ATTR_DRIVER_SPECIFIC, +}; + #endif -- cgit v1.2.1