diff options
author | Zeev Suraski <zeev@php.net> | 2001-07-11 11:39:10 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-07-11 11:39:10 +0000 |
commit | 66d94bc655984d94416d4627e98825f23bc7c494 (patch) | |
tree | a12f47ba38e0d29eaf6f8bb9e9b8a20393162332 /ext/sybase_ct/php_sybase_ct.c | |
parent | 4cc86259ddb76c02b871b9c4866561649d9c88e3 (diff) | |
download | php-git-66d94bc655984d94416d4627e98825f23bc7c494.tar.gz |
Nuke zval_reset
Diffstat (limited to 'ext/sybase_ct/php_sybase_ct.c')
-rw-r--r-- | ext/sybase_ct/php_sybase_ct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sybase_ct/php_sybase_ct.c b/ext/sybase_ct/php_sybase_ct.c index 5dcdc254c7..b21a100caa 100644 --- a/ext/sybase_ct/php_sybase_ct.c +++ b/ext/sybase_ct/php_sybase_ct.c @@ -991,7 +991,7 @@ static sybase_result * php_sybase_fetch_result_set (sybase_link *sybase_ptr) result->data[i] = (pval *) emalloc(sizeof(pval)*num_fields); for (j=0; j<num_fields; j++) { if (indicators[j] == -1) { /* null value */ - ZVAL_RESET(&result->data[i][j]); + ZVAL_BOOL(&result->data[i][j], 0); } else { result->data[i][j].value.str.len = lengths[j]-1; /* we don't need the NULL in the length */ result->data[i][j].value.str.val = estrndup(tmp_buffer[j], lengths[j]); |