diff options
author | Zeev Suraski <zeev@php.net> | 1999-12-31 14:06:31 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-12-31 14:06:31 +0000 |
commit | ccb4b183489aef5d076a0c84e587084ccffc0f0f (patch) | |
tree | d24fc346ee4f553447b763f797ef65b733264b8b /ext/mysql/php_mysql.c | |
parent | f2d703e916e767e86c2d6434e809f29f6906f5fc (diff) | |
download | php-git-ccb4b183489aef5d076a0c84e587084ccffc0f0f.tar.gz |
Happy new year (especially to Thies :)
- Zend branch patches merged in - get the PHP tree uptodate
- Clean
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r-- | ext/mysql/php_mysql.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index c63df6da0f..dfe4258545 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -1255,9 +1255,7 @@ PHP_FUNCTION(mysql_result) return_value->value.str.val = (char *) safe_estrndup(sql_row[field_offset],return_value->value.str.len); } } else { - return_value->value.str.val = undefined_variable_string; - return_value->value.str.len=0; - return_value->type = IS_STRING; + return_value->type = IS_UNSET; } return_value->type = IS_STRING; |