andrey Wed Oct 10 14:32:01 2007 UTC Modified files: /php-src/ext/odbc php_odbc.c Log: MFB and unify code http://cvs.php.net/viewvc.cgi/php-src/ext/odbc/php_odbc.c?r1=1.204&r2=1.205&diff_format=u Index: php-src/ext/odbc/php_odbc.c diff -u php-src/ext/odbc/php_odbc.c:1.204 php-src/ext/odbc/php_odbc.c:1.205 --- php-src/ext/odbc/php_odbc.c:1.204 Sun Oct 7 05:15:04 2007 +++ php-src/ext/odbc/php_odbc.c Wed Oct 10 14:32:01 2007 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_odbc.c,v 1.204 2007/10/07 05:15:04 davidw Exp $ */ +/* $Id: php_odbc.c,v 1.205 2007/10/10 14:32:01 andrey Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -1567,8 +1567,7 @@ result->fetched++; for(i = 0; i < result->numcols; i++) { - ALLOC_ZVAL(tmp); - Z_SET_REFCOUNT_P(tmp, 1); + MAKE_STD_ZVAL(tmp); Z_TYPE_P(tmp) = IS_STRING; Z_STRLEN_P(tmp) = 0; sql_c_type = SQL_C_CHAR;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php