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/mssql/php_mssql.c | |
parent | 4cc86259ddb76c02b871b9c4866561649d9c88e3 (diff) | |
download | php-git-66d94bc655984d94416d4627e98825f23bc7c494.tar.gz |
Nuke zval_reset
Diffstat (limited to 'ext/mssql/php_mssql.c')
-rw-r--r-- | ext/mssql/php_mssql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c index 04c3cfb635..3ac1e3bc05 100644 --- a/ext/mssql/php_mssql.c +++ b/ext/mssql/php_mssql.c @@ -829,7 +829,7 @@ static void php_mssql_get_column_content_with_type(mssql_link *mssql_ptr,int off result->type = IS_STRING; } else { php_error(E_WARNING,"MS SQL: column %d has unknown data type (%d)", offset, coltype(offset)); - ZVAL_RESET(result); + ZVAL_BOOL(result, 0); } } } @@ -871,7 +871,7 @@ static void php_mssql_get_column_content_without_type(mssql_link *mssql_ptr,int result->type = IS_STRING; } else { php_error(E_WARNING,"MS SQL: column %d has unknown data type (%d)", offset, coltype(offset)); - ZVAL_RESET(result); + ZVAL_BOOL(result, 0); } } |