pajoye Tue Nov 18 14:25:54 2008 UTC
Modified files:
/php-src/ext/sqlite3 sqlite3.c
Log:
- declaration has to be first...
http://cvs.php.net/viewvc.cgi/php-src/ext/sqlite3/sqlite3.c?r1=1.18&r2=1.19&diff_format=u
Index: php-src/ext/sqlite3/sqlite3.c
diff -u php-src/ext/sqlite3/sqlite3.c:1.18 php-src/ext/sqlite3/sqlite3.c:1.19
--- php-src/ext/sqlite3/sqlite3.c:1.18 Mon Nov 17 19:32:31 2008
+++ php-src/ext/sqlite3/sqlite3.c Tue Nov 18 14:25:54 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sqlite3.c,v 1.18 2008/11/17 19:32:31 scottmac Exp $ */
+/* $Id: sqlite3.c,v 1.19 2008/11/18 14:25:54 pajoye Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -1205,10 +1205,11 @@
php_sqlite3_db_object *db_obj;
zval *object = getThis();
zval *db_zval;
- stmt_obj = (php_sqlite3_stmt *)zend_object_store_get_object(object
TSRMLS_CC);
char *sql;
int sql_len, errcode;
+ stmt_obj = (php_sqlite3_stmt *)zend_object_store_get_object(object
TSRMLS_CC);
+
zend_replace_error_handling(EH_THROW, NULL, NULL TSRMLS_CC);
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os", &db_zval,
php_sqlite3_sc_entry, &sql, &sql_len) == FAILURE) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php