summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-12-31 14:06:31 +0000
committerZeev Suraski <zeev@php.net>1999-12-31 14:06:31 +0000
commitccb4b183489aef5d076a0c84e587084ccffc0f0f (patch)
treed24fc346ee4f553447b763f797ef65b733264b8b /ext/mysql/php_mysql.c
parentf2d703e916e767e86c2d6434e809f29f6906f5fc (diff)
downloadphp-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.c4
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;