summaryrefslogtreecommitdiff
path: root/ext/odbc
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2007-10-10 14:29:27 +0000
committerAndrey Hristov <andrey@php.net>2007-10-10 14:29:27 +0000
commitb0677f4bebda6149612363e5afd7166b0803ccdd (patch)
tree5da828ef2e1458f9eb9d0ae13e5e0f93b1a36d35 /ext/odbc
parent3db75dcb84f1b410cedbf8f5fff7614d331f2732 (diff)
downloadphp-git-b0677f4bebda6149612363e5afd7166b0803ccdd.tar.gz
Fix ODBC, the GC patch missed this one leading to compilation failure.
Diffstat (limited to 'ext/odbc')
-rw-r--r--ext/odbc/php_odbc.c3
1 files changed, 1 insertions, 2 deletions
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;