Home
last modified time | relevance | path

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

/PHP-7.1/ext/pdo/
H A Dpdo_sql_parser.c409 int query_type = PDO_PLACEHOLDER_NONE; in pdo_parse_params() local
424 query_type |= PDO_PLACEHOLDER_NAMED; in pdo_parse_params()
426 query_type |= PDO_PLACEHOLDER_POSITIONAL; in pdo_parse_params()
451 if (query_type == (PDO_PLACEHOLDER_NAMED|PDO_PLACEHOLDER_POSITIONAL)) { in pdo_parse_params()
458 if (stmt->supports_placeholders == query_type && !stmt->named_rewrite_template) { in pdo_parse_params()
470 query_type = PDO_PLACEHOLDER_POSITIONAL; in pdo_parse_params()
484 if (query_type != PDO_PLACEHOLDER_POSITIONAL && bindno > zend_hash_num_elements(params)) { in pdo_parse_params()
509 if (query_type == PDO_PLACEHOLDER_POSITIONAL) { in pdo_parse_params()
639 } else if (query_type == PDO_PLACEHOLDER_POSITIONAL) { in pdo_parse_params()
H A Dpdo_sql_parser.re94 int query_type = PDO_PLACEHOLDER_NONE;
109 query_type |= PDO_PLACEHOLDER_NAMED;
111 query_type |= PDO_PLACEHOLDER_POSITIONAL;
136 if (query_type == (PDO_PLACEHOLDER_NAMED|PDO_PLACEHOLDER_POSITIONAL)) {
143 if (stmt->supports_placeholders == query_type && !stmt->named_rewrite_template) {
155 query_type = PDO_PLACEHOLDER_POSITIONAL;
169 if (query_type != PDO_PLACEHOLDER_POSITIONAL && bindno > zend_hash_num_elements(params)) {
194 if (query_type == PDO_PLACEHOLDER_POSITIONAL) {
324 } else if (query_type == PDO_PLACEHOLDER_POSITIONAL) {

Completed in 9 milliseconds