diff options
author | Anatol Belski <ab@php.net> | 2014-09-26 21:23:23 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-09-26 21:23:23 +0200 |
commit | f7e09105d86009511b1d700d38c5745f3bb9e90b (patch) | |
tree | b6c7749a1ab20fb39d6ef3787b99f654ab48d4b3 /ext/pdo_sqlite/sqlite_driver.c | |
parent | 784f5bb6a25d1ef20e5862277b1f2489ebdbb235 (diff) | |
download | php-git-f7e09105d86009511b1d700d38c5745f3bb9e90b.tar.gz |
cleanup TSRMLS_FETCH in ext/pdo*
Diffstat (limited to 'ext/pdo_sqlite/sqlite_driver.c')
-rw-r--r-- | ext/pdo_sqlite/sqlite_driver.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/pdo_sqlite/sqlite_driver.c b/ext/pdo_sqlite/sqlite_driver.c index 413b50b9d4..c5357081ed 100644 --- a/ext/pdo_sqlite/sqlite_driver.c +++ b/ext/pdo_sqlite/sqlite_driver.c @@ -448,7 +448,6 @@ static void php_sqlite3_func_callback(sqlite3_context *context, int argc, sqlite3_value **argv) { struct pdo_sqlite_func *func = (struct pdo_sqlite_func*)sqlite3_user_data(context); - TSRMLS_FETCH(); do_callback(&func->afunc, &func->func, argc, argv, context, 0 TSRMLS_CC); } @@ -457,7 +456,6 @@ static void php_sqlite3_func_step_callback(sqlite3_context *context, int argc, sqlite3_value **argv) { struct pdo_sqlite_func *func = (struct pdo_sqlite_func*)sqlite3_user_data(context); - TSRMLS_FETCH(); do_callback(&func->astep, &func->step, argc, argv, context, 1 TSRMLS_CC); } @@ -465,7 +463,6 @@ static void php_sqlite3_func_step_callback(sqlite3_context *context, int argc, static void php_sqlite3_func_final_callback(sqlite3_context *context) { struct pdo_sqlite_func *func = (struct pdo_sqlite_func*)sqlite3_user_data(context); - TSRMLS_FETCH(); do_callback(&func->afini, &func->fini, 0, NULL, context, 1 TSRMLS_CC); } @@ -478,7 +475,6 @@ static int php_sqlite3_collation_callback(void *context, zval zargs[2]; zval retval; struct pdo_sqlite_collation *collation = (struct pdo_sqlite_collation*) context; - TSRMLS_FETCH(); collation->fc.fci.size = sizeof(collation->fc.fci); collation->fc.fci.function_table = EG(function_table); @@ -763,7 +759,6 @@ static int authorizer(void *autharg, int access_type, const char *arg3, const ch char *filename; switch (access_type) { case SQLITE_COPY: { - TSRMLS_FETCH(); filename = make_filename_safe(arg4 TSRMLS_CC); if (!filename) { return SQLITE_DENY; @@ -773,7 +768,6 @@ static int authorizer(void *autharg, int access_type, const char *arg3, const ch } case SQLITE_ATTACH: { - TSRMLS_FETCH(); filename = make_filename_safe(arg3 TSRMLS_CC); if (!filename) { return SQLITE_DENY; |