Home
last modified time | relevance | path

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

/PHP-5.5/ext/pdo/
H A Dpdo_sql_parser.c671 if (stmt->bound_param_map == NULL) { in pdo_parse_params()
672 ALLOC_HASHTABLE(stmt->bound_param_map); in pdo_parse_params()
673 zend_hash_init(stmt->bound_param_map, 13, NULL, NULL, 0); in pdo_parse_params()
682 …if (!strcmp(name, "?") || zend_hash_find(stmt->bound_param_map, name, plc->len + 1, (void**) &p) =… in pdo_parse_params()
696 zend_hash_update(stmt->bound_param_map, name, plc->len + 1, idxbuf, plc->qlen + 1, NULL); in pdo_parse_params()
700 zend_hash_index_update(stmt->bound_param_map, plc->bindno, idxbuf, plc->qlen + 1, NULL); in pdo_parse_params()
712 if (stmt->bound_param_map == NULL) { in pdo_parse_params()
713 ALLOC_HASHTABLE(stmt->bound_param_map); in pdo_parse_params()
714 zend_hash_init(stmt->bound_param_map, 13, NULL, NULL, 0); in pdo_parse_params()
721 zend_hash_index_update(stmt->bound_param_map, plc->bindno, name, plc->len + 1, NULL); in pdo_parse_params()
H A Dpdo_sql_parser.re313 if (stmt->bound_param_map == NULL) {
314 ALLOC_HASHTABLE(stmt->bound_param_map);
315 zend_hash_init(stmt->bound_param_map, 13, NULL, NULL, 0);
324 …if (!strcmp(name, "?") || zend_hash_find(stmt->bound_param_map, name, plc->len + 1, (void**) &p) =…
338 zend_hash_update(stmt->bound_param_map, name, plc->len + 1, idxbuf, plc->qlen + 1, NULL);
342 zend_hash_index_update(stmt->bound_param_map, plc->bindno, idxbuf, plc->qlen + 1, NULL);
354 if (stmt->bound_param_map == NULL) {
355 ALLOC_HASHTABLE(stmt->bound_param_map);
356 zend_hash_init(stmt->bound_param_map, 13, NULL, NULL, 0);
363 zend_hash_index_update(stmt->bound_param_map, plc->bindno, name, plc->len + 1, NULL);
H A Dpdo_stmt.c124 if (stmt->bound_param_map) { in rewrite_name_to_position()
140 if (SUCCESS == zend_hash_index_find(stmt->bound_param_map, param->paramno, (void**)&name)) { in rewrite_name_to_position()
149 zend_hash_internal_pointer_reset(stmt->bound_param_map); in rewrite_name_to_position()
150 while (SUCCESS == zend_hash_get_current_data(stmt->bound_param_map, (void**)&name)) { in rewrite_name_to_position()
153 zend_hash_move_forward(stmt->bound_param_map); in rewrite_name_to_position()
2367 if (stmt->bound_param_map) { in free_statement()
2368 zend_hash_destroy(stmt->bound_param_map); in free_statement()
2369 FREE_HASHTABLE(stmt->bound_param_map); in free_statement()
2370 stmt->bound_param_map = NULL; in free_statement()
H A Dphp_pdo_driver.h580 HashTable *bound_param_map; member
/PHP-5.5/ext/pdo_pgsql/
H A Dpgsql_statement.c260 if (stmt->bound_param_map && SUCCESS == zend_hash_find(stmt->bound_param_map, in pgsql_stmt_param_hook()
279 if (!stmt->bound_param_map) { in pgsql_stmt_param_hook()
284 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()
287 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()
290 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()
293 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()

Completed in 31 milliseconds