mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Add setAuthorizer method to SQLite3
This adds the possibility to define a userland callback that will be used to authorize or not an action on the database.
This commit is contained in:
parent
5f2f450554
commit
3958592487
7 changed files with 283 additions and 18 deletions
|
@ -71,6 +71,8 @@ typedef struct _php_sqlite3_db_object {
|
|||
sqlite3 *db;
|
||||
php_sqlite3_func *funcs;
|
||||
php_sqlite3_collation *collations;
|
||||
zend_fcall_info authorizer_fci;
|
||||
zend_fcall_info_cache authorizer_fcc;
|
||||
|
||||
zend_bool exception;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue