diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2005-09-20 19:52:05 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2005-09-20 19:52:05 +0000 |
| commit | 75555bc472022a444df44d6461821409942fe71a (patch) | |
| tree | 253db88a860ff5dbec4869205a93f5f4e8538057 /ext/pdo_sqlite/sqlite_driver.c | |
| parent | 97bedcc064b93d9026edfb08b6bc511b6a0fb9ab (diff) | |
| download | php-git-75555bc472022a444df44d6461821409942fe71a.tar.gz | |
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 65790750f6..7c004a7ebb 100644 --- a/ext/pdo_sqlite/sqlite_driver.c +++ b/ext/pdo_sqlite/sqlite_driver.c @@ -472,6 +472,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)) { #ifdef IS_UNICODE @@ -556,6 +557,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)) { #ifdef IS_UNICODE |
