diff options
author | Andi Gutmans <andi@php.net> | 2001-01-31 21:53:30 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2001-01-31 21:53:30 +0000 |
commit | 0611acb910003f86287f0a0e0163f42bce9b1e62 (patch) | |
tree | 87335d3f9655cf576be5cdd1f7f2552ba03e0de6 /ext/mysql | |
parent | 00b84703f8447c1d68943322038ce25030f6aa0e (diff) | |
download | php-git-0611acb910003f86287f0a0e0163f42bce9b1e62.tar.gz |
- Change unset() functions to null(). unset() is legacy
Diffstat (limited to 'ext/mysql')
-rw-r--r-- | ext/mysql/php_mysql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index db8ff01f7f..0acac78eb3 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -1425,9 +1425,9 @@ static void php_mysql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type) } else { /* NULL value. */ if (result_type & MYSQL_NUM) - add_index_unset(return_value, i); + add_index_null(return_value, i); else - add_assoc_unset(return_value, mysql_field->name); + add_assoc_null(return_value, mysql_field->name); } } } |