From b0677f4bebda6149612363e5afd7166b0803ccdd Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Wed, 10 Oct 2007 14:29:27 +0000 Subject: Fix ODBC, the GC patch missed this one leading to compilation failure. --- ext/odbc/php_odbc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ext/odbc/php_odbc.c') diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index df77684535..7557f04645 100644 --- a/ext/odbc/php_odbc.c +++ b/ext/odbc/php_odbc.c @@ -1573,8 +1573,7 @@ PHP_FUNCTION(odbc_fetch_into) result->fetched++; for(i = 0; i < result->numcols; i++) { - ALLOC_ZVAL(tmp); - tmp->refcount = 1; + MAKE_STD_ZVAL(tmp); Z_TYPE_P(tmp) = IS_STRING; Z_STRLEN_P(tmp) = 0; sql_c_type = SQL_C_CHAR; -- cgit v1.2.1