mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
Fixed Hash API usage (it's in comments)
This commit is contained in:
parent
eb5c613311
commit
4ababc3a41
@ -456,9 +456,9 @@ int old_pdo_parse_params(pdo_stmt_t *stmt, char *inquery, int inquery_len, char
|
|||||||
}
|
}
|
||||||
/* lookup bind first via hash and then index */
|
/* lookup bind first via hash and then index */
|
||||||
/* stupid keys need to be null-terminated, even though we know their length */
|
/* stupid keys need to be null-terminated, even though we know their length */
|
||||||
if((NULL != zend_hash_find(params, s.tok, s.cur-s.tok,(void **)¶m))
|
if((NULL != (param = zend_hash_str_find_ptr(params, s.tok, s.cur-s.tok))
|
||||||
||
|
||
|
||||||
(NULL != zend_hash_index_find(params, bindno, (void **)¶m)))
|
NULL != (params = zend_hash_index_find_ptr(params, bindno)))
|
||||||
{
|
{
|
||||||
char *quotedstr;
|
char *quotedstr;
|
||||||
int quotedstrlen;
|
int quotedstrlen;
|
||||||
|
Loading…
Reference in New Issue
Block a user