Home
last modified time | relevance | path

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

/PHP-5.6/ext/pdo/
H A Dpdo_sql_parser.c627 if (stmt->bound_param_map == NULL) { in pdo_parse_params()
628 ALLOC_HASHTABLE(stmt->bound_param_map); in pdo_parse_params()
629 zend_hash_init(stmt->bound_param_map, 13, NULL, NULL, 0); in pdo_parse_params()
638 …if (!strcmp(name, "?") || zend_hash_find(stmt->bound_param_map, name, plc->len + 1, (void**) &p) =… in pdo_parse_params()
652 zend_hash_update(stmt->bound_param_map, name, plc->len + 1, idxbuf, plc->qlen + 1, NULL); in pdo_parse_params()
656 zend_hash_index_update(stmt->bound_param_map, plc->bindno, idxbuf, plc->qlen + 1, NULL); in pdo_parse_params()
668 if (stmt->bound_param_map == NULL) { in pdo_parse_params()
669 ALLOC_HASHTABLE(stmt->bound_param_map); in pdo_parse_params()
670 zend_hash_init(stmt->bound_param_map, 13, NULL, NULL, 0); in pdo_parse_params()
677 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()
2351 if (stmt->bound_param_map) { in free_statement()
2352 zend_hash_destroy(stmt->bound_param_map); in free_statement()
2353 FREE_HASHTABLE(stmt->bound_param_map); in free_statement()
2354 stmt->bound_param_map = NULL; in free_statement()
H A Dphp_pdo_driver.h590 HashTable *bound_param_map; member
/PHP-5.6/ext/pdo_pgsql/
H A Dpgsql_statement.c263 if (stmt->bound_param_map && SUCCESS == zend_hash_find(stmt->bound_param_map, in pgsql_stmt_param_hook()
282 if (!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()
296 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()

Completed in 31 milliseconds