Home
last modified time | relevance | path

Searched refs:bound_param_map (Results 1 – 5 of 5) sorted by relevance

/PHP-7.1/ext/pdo/
H A Dpdo_sql_parser.c647 if (stmt->bound_param_map == NULL) { in pdo_parse_params()
648 ALLOC_HASHTABLE(stmt->bound_param_map); in pdo_parse_params()
649 zend_hash_init(stmt->bound_param_map, 13, NULL, free_param_name, 0); in pdo_parse_params()
658 …if (!strcmp(name, "?") || (p = zend_hash_str_find_ptr(stmt->bound_param_map, name, plc->len)) == N… in pdo_parse_params()
672 zend_hash_str_update_mem(stmt->bound_param_map, name, plc->len, idxbuf, plc->qlen + 1); in pdo_parse_params()
676 zend_hash_index_update_mem(stmt->bound_param_map, plc->bindno, idxbuf, plc->qlen + 1); in pdo_parse_params()
688 if (stmt->bound_param_map == NULL) { in pdo_parse_params()
689 ALLOC_HASHTABLE(stmt->bound_param_map); in pdo_parse_params()
690 zend_hash_init(stmt->bound_param_map, 13, NULL, free_param_name, 0); in pdo_parse_params()
696 zend_hash_index_update_mem(stmt->bound_param_map, plc->bindno, name, plc->len + 1); in pdo_parse_params()
H A Dpdo_sql_parser.re332 if (stmt->bound_param_map == NULL) {
333 ALLOC_HASHTABLE(stmt->bound_param_map);
334 zend_hash_init(stmt->bound_param_map, 13, NULL, free_param_name, 0);
343 …if (!strcmp(name, "?") || (p = zend_hash_str_find_ptr(stmt->bound_param_map, name, plc->len)) == N…
357 zend_hash_str_update_mem(stmt->bound_param_map, name, plc->len, idxbuf, plc->qlen + 1);
361 zend_hash_index_update_mem(stmt->bound_param_map, plc->bindno, idxbuf, plc->qlen + 1);
373 if (stmt->bound_param_map == NULL) {
374 ALLOC_HASHTABLE(stmt->bound_param_map);
375 zend_hash_init(stmt->bound_param_map, 13, NULL, free_param_name, 0);
381 zend_hash_index_update_mem(stmt->bound_param_map, plc->bindno, name, plc->len + 1);
H A Dpdo_stmt.c118 if (stmt->bound_param_map) {
134 if ((name = zend_hash_index_find_ptr(stmt->bound_param_map, param->paramno)) != NULL) {
142 ZEND_HASH_FOREACH_PTR(stmt->bound_param_map, name) {
2309 if (stmt->bound_param_map) { in php_pdo_free_statement()
2310 zend_hash_destroy(stmt->bound_param_map); in php_pdo_free_statement()
2311 FREE_HASHTABLE(stmt->bound_param_map); in php_pdo_free_statement()
2312 stmt->bound_param_map = NULL; in php_pdo_free_statement()
H A Dphp_pdo_driver.h588 HashTable *bound_param_map; member
/PHP-7.1/ext/pdo_pgsql/
H A Dpgsql_statement.c284 if (stmt->bound_param_map && (namevar = zend_hash_find_ptr(stmt->bound_param_map, in pgsql_stmt_param_hook()
297 if (!stmt->bound_param_map) { in pgsql_stmt_param_hook()
300 if (!zend_hash_index_exists(stmt->bound_param_map, param->paramno)) { in pgsql_stmt_param_hook()
311 if (!stmt->bound_param_map) { in pgsql_stmt_param_hook()
316 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()
319 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()
322 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()
325 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()

Completed in 20 milliseconds