summaryrefslogtreecommitdiff
path: root/ext/sqlite/sqlite.c
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-08-02 04:46:07 +0000
committerFelipe Pena <felipe@php.net>2008-08-02 04:46:07 +0000
commite304515ddb434bb887c9d93cf0b4dd30a2ed94e4 (patch)
tree803fd9e69205be8781246a095f7f9c2b6d0be66d /ext/sqlite/sqlite.c
parent11bc1de7706fefe0558b2a2ddb071082ca87ae2d (diff)
downloadphp-git-e304515ddb434bb887c9d93cf0b4dd30a2ed94e4.tar.gz
- MFH: Added parameter TSRMLS_DC in zend_is_callable()
Diffstat (limited to 'ext/sqlite/sqlite.c')
-rw-r--r--ext/sqlite/sqlite.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/sqlite/sqlite.c b/ext/sqlite/sqlite.c
index b1d36fdba2..8c183e4e48 100644
--- a/ext/sqlite/sqlite.c
+++ b/ext/sqlite/sqlite.c
@@ -3354,14 +3354,14 @@ PHP_FUNCTION(sqlite_create_aggregate)
DB_FROM_ZVAL(db, &zdb);
}
- if (!zend_is_callable(zstep, 0, &callable)) {
+ if (!zend_is_callable(zstep, 0, &callable TSRMLS_CC)) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "step function `%s' is not callable", callable);
efree(callable);
return;
}
efree(callable);
- if (!zend_is_callable(zfinal, 0, &callable)) {
+ if (!zend_is_callable(zfinal, 0, &callable TSRMLS_CC)) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "finalize function `%s' is not callable", callable);
efree(callable);
return;
@@ -3405,7 +3405,7 @@ PHP_FUNCTION(sqlite_create_function)
DB_FROM_ZVAL(db, &zdb);
}
- if (!zend_is_callable(zcall, 0, &callable)) {
+ if (!zend_is_callable(zcall, 0, &callable TSRMLS_CC)) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "function `%s' is not callable", callable);
efree(callable);
return;