]> granicus.if.org Git - php/commitdiff
Fix build
authorHannes Magnusson <bjori@php.net>
Sun, 10 Dec 2006 15:43:13 +0000 (15:43 +0000)
committerHannes Magnusson <bjori@php.net>
Sun, 10 Dec 2006 15:43:13 +0000 (15:43 +0000)
ext/sqlite/pdo_sqlite2.c

index 7e02388892204587af24bf13b727604b0dae498e..7d328c9ba2f664dd9f3b0733201039f36c144169 100644 (file)
@@ -585,7 +585,7 @@ static int pdo_sqlite2_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRML
 
        if (!filename) {
 #if PHP_VERSION_ID > 50200
-               zend_throw_exception_ex(php_pdo_get_exception(TSRMLS_C), 0 TSRMLS_CC,
+               zend_throw_exception_ex(php_pdo_get_exception(), 0 TSRMLS_CC,
                                "open_basedir prohibits opening %s",
                                dbh->data_source);
 #else