Home
last modified time | relevance | path

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

/PHP-7.0/ext/pdo/
H A Dpdo_sql_parser.c408 int query_type = PDO_PLACEHOLDER_NONE; in pdo_parse_params() local
423 query_type |= PDO_PLACEHOLDER_NAMED; in pdo_parse_params()
425 query_type |= PDO_PLACEHOLDER_POSITIONAL; in pdo_parse_params()
450 if (query_type == (PDO_PLACEHOLDER_NAMED|PDO_PLACEHOLDER_POSITIONAL)) { in pdo_parse_params()
457 if (stmt->supports_placeholders == query_type && !stmt->named_rewrite_template) { in pdo_parse_params()
469 query_type = PDO_PLACEHOLDER_POSITIONAL; in pdo_parse_params()
483 if (query_type != PDO_PLACEHOLDER_POSITIONAL && bindno > zend_hash_num_elements(params)) { in pdo_parse_params()
508 if (query_type == PDO_PLACEHOLDER_POSITIONAL) { in pdo_parse_params()
638 } 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 6 milliseconds