summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite/sqlite_driver.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-09-20 19:52:05 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-09-20 19:52:05 +0000
commit75555bc472022a444df44d6461821409942fe71a (patch)
tree253db88a860ff5dbec4869205a93f5f4e8538057 /ext/pdo_sqlite/sqlite_driver.c
parent97bedcc064b93d9026edfb08b6bc511b6a0fb9ab (diff)
downloadphp-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.c2
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