diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-09-20 19:52:24 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-09-20 19:52:24 +0000 |
commit | 4dff36f6b48bacdeb63a2abec3c1c106e69b1599 (patch) | |
tree | a750c9b288340254e322b456e22e788082831701 /ext/pdo_sqlite/sqlite_driver.c | |
parent | bcb70109d2e2c6c8badb7c8320221a0316296226 (diff) | |
download | php-git-4dff36f6b48bacdeb63a2abec3c1c106e69b1599.tar.gz |
MFH: Allow overloading of PDO constructor.
Diffstat (limited to 'ext/pdo_sqlite/sqlite_driver.c')
-rw-r--r-- | ext/pdo_sqlite/sqlite_driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pdo_sqlite/sqlite_driver.c b/ext/pdo_sqlite/sqlite_driver.c index e3734d4a7c..ff935ab031 100644 --- a/ext/pdo_sqlite/sqlite_driver.c +++ b/ext/pdo_sqlite/sqlite_driver.c @@ -468,6 +468,7 @@ static PHP_METHOD(SQLite, sqliteCreateFunction) } dbh = zend_object_store_get_object(getThis() TSRMLS_CC); + PDO_CONSTRUCT_CHECK; if (!zend_is_callable(callback, 0, &cbname)) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "function '%s' is not callable", cbname); @@ -539,6 +540,7 @@ static PHP_METHOD(SQLite, sqliteCreateAggregate) } dbh = zend_object_store_get_object(getThis() TSRMLS_CC); + PDO_CONSTRUCT_CHECK; if (!zend_is_callable(step_callback, 0, &cbname)) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "function '%s' is not callable", cbname); |