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/php_sybase_db.c | |
parent | 4cc86259ddb76c02b871b9c4866561649d9c88e3 (diff) | |
download | php-git-66d94bc655984d94416d4627e98825f23bc7c494.tar.gz |
Nuke zval_reset
Diffstat (limited to 'ext/sybase/php_sybase_db.c')
-rw-r--r-- | ext/sybase/php_sybase_db.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sybase/php_sybase_db.c b/ext/sybase/php_sybase_db.c index efbdb6a6f3..c89c9e9dd7 100644 --- a/ext/sybase/php_sybase_db.c +++ b/ext/sybase/php_sybase_db.c @@ -617,7 +617,7 @@ static void php_sybase_get_column_content(sybase_link *sybase_ptr,int offset,pva *result_ptr = result; if (dbdatlen(sybase_ptr->link,offset) == 0) { - ZVAL_RESET(result); + ZVAL_BOOL(result, 0); return; } @@ -688,7 +688,7 @@ static void php_sybase_get_column_content(sybase_link *sybase_ptr,int offset,pva result->type = IS_STRING; } else { php_error(E_WARNING,"Sybase: column %d has unknown data type (%d)", offset, coltype(offset)); - ZVAL_RESET(result); + ZVAL_BOOL(result, 0); } } } |