Browse Source

- declarations must be.. 1st

experimental/first_unicode_implementation
Pierre Joye 18 years ago
parent
commit
3c5b675727
  1. 3
      ext/sqlite3/sqlite3.c

3
ext/sqlite3/sqlite3.c

@ -1409,9 +1409,10 @@ PHP_METHOD(sqlite3result, __construct)
{
php_sqlite3_result *result_obj;
zval *object = getThis();
result_obj = (php_sqlite3_result *)zend_object_store_get_object(object TSRMLS_CC);
zend_error_handling error_handling;
result_obj = (php_sqlite3_result *)zend_object_store_get_object(object TSRMLS_CC);
zend_replace_error_handling(EH_THROW, NULL, &error_handling TSRMLS_CC);
php_error_docref(NULL TSRMLS_CC, E_WARNING, "SQLite3Result cannot be directly instantiated");

Loading…
Cancel
Save