Home
last modified time | relevance | path

Searched refs:bindno (Results 1 – 2 of 2) sorted by relevance

/PHP-7.2/ext/pdo/
H A Dpdo_sql_parser.c387 int bindno; member
404 uint32_t bindno = 0; in pdo_parse_params() local
434 plc->bindno = bindno++; in pdo_parse_params()
445 if (bindno == 0) { in pdo_parse_params()
476 if (bindno && !params && stmt->supports_placeholders == PDO_PLACEHOLDER_NONE) { in pdo_parse_params()
482 …if (params && bindno != zend_hash_num_elements(params) && stmt->supports_placeholders == PDO_PLACE… in pdo_parse_params()
484 if (query_type != PDO_PLACEHOLDER_POSITIONAL && bindno > zend_hash_num_elements(params)) { in pdo_parse_params()
510 param = zend_hash_index_find_ptr(params, plc->bindno); in pdo_parse_params()
690 zend_hash_index_update_mem(stmt->bound_param_map, plc->bindno, idxbuf, plc->qlen + 1); in pdo_parse_params()
710 zend_hash_index_update_mem(stmt->bound_param_map, plc->bindno, name, plc->len + 1); in pdo_parse_params()
H A Dpdo_sql_parser.re72 int bindno;
89 uint32_t bindno = 0;
119 plc->bindno = bindno++;
130 if (bindno == 0) {
161 if (bindno && !params && stmt->supports_placeholders == PDO_PLACEHOLDER_NONE) {
167 …if (params && bindno != zend_hash_num_elements(params) && stmt->supports_placeholders == PDO_PLACE…
169 if (query_type != PDO_PLACEHOLDER_POSITIONAL && bindno > zend_hash_num_elements(params)) {
195 param = zend_hash_index_find_ptr(params, plc->bindno);
375 zend_hash_index_update_mem(stmt->bound_param_map, plc->bindno, idxbuf, plc->qlen + 1);
395 zend_hash_index_update_mem(stmt->bound_param_map, plc->bindno, name, plc->len + 1);

Completed in 13 milliseconds