Skip to content

Commit 9b3640f

Browse files
committed
Remove outdated comment
1 parent eec86c5 commit 9b3640f

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

ext/mysqlnd/mysqlnd_result.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,13 +1001,6 @@ MYSQLND_METHOD(mysqlnd_res, fetch_into)(MYSQLND_RES * result, const unsigned int
10011001
}
10021002
}
10031003
if (flags & MYSQLND_FETCH_ASSOC) {
1004-
/* zend_hash_quick_update needs length + trailing zero */
1005-
/* QQ: Error handling ? */
1006-
/*
1007-
zend_hash_quick_update does not check, as add_assoc_zval_ex do, whether
1008-
the index is a numeric and convert it to it. This however means constant
1009-
hashing of the column name, which is not needed as it can be precomputed.
1010-
*/
10111004
Z_TRY_ADDREF_P(data);
10121005
if (field->is_numeric == FALSE) {
10131006
zend_hash_update(row_ht, field->sname, data);

0 commit comments

Comments
 (0)