Home
last modified time | relevance | path

Searched refs:param_type (Results 1 – 13 of 13) sorted by relevance

/PHP-7.0/ext/pdo_sqlite/tests/
H A Ddebugdumpparams_001.phpt26 param_type=1
31 param_type=2
36 param_type=2
/PHP-7.0/ext/pdo_pgsql/
H A Dpgsql_statement.c405 if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_BOOL && in pgsql_stmt_param_hook()
408 param->param_type = PDO_PARAM_STR; in pgsql_stmt_param_hook()
484 cols[colno].param_type = PDO_PARAM_BOOL; in pgsql_stmt_describe()
494 cols[colno].param_type = PDO_PARAM_LOB; in pgsql_stmt_describe()
498 cols[colno].param_type = PDO_PARAM_INT; in pgsql_stmt_describe()
503 cols[colno].param_type = PDO_PARAM_INT; in pgsql_stmt_describe()
508 cols[colno].param_type = PDO_PARAM_INT; in pgsql_stmt_describe()
510 cols[colno].param_type = PDO_PARAM_STR; in pgsql_stmt_describe()
515 cols[colno].param_type = PDO_PARAM_LOB; in pgsql_stmt_describe()
519 cols[colno].param_type = PDO_PARAM_STR; in pgsql_stmt_describe()
[all …]
/PHP-7.0/ext/pdo_odbc/
H A Dodbc_stmt.c312 switch (PDO_PARAM_TYPE(param->param_type)) { in odbc_stmt_param_hook()
327 sqltype = PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_LOB ? in odbc_stmt_param_hook()
356 if ((param->param_type & PDO_PARAM_INPUT_OUTPUT) == PDO_PARAM_INPUT_OUTPUT) { in odbc_stmt_param_hook()
365 if (PDO_PARAM_TYPE(param->param_type) != PDO_PARAM_NULL) { in odbc_stmt_param_hook()
375 if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_LOB && P->paramtype != SQL_PARAM_INPUT) { in odbc_stmt_param_hook()
404 if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_LOB) { in odbc_stmt_param_hook()
456 …} else if (Z_TYPE_P(parameter) == IS_NULL || PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_NULL) { in odbc_stmt_param_hook()
619 col->param_type = PDO_PARAM_STR; in odbc_stmt_describe()
H A Dodbc_driver.c264 …r *unquoted, size_t unquotedlen, char **quoted, size_t *quotedlen, enum pdo_param_type param_type ) in odbc_handle_quoter() argument
/PHP-7.0/ext/pdo/
H A Dpdo_stmt.c477 param.param_type = PDO_PARAM_STR; in PHP_METHOD()
553 type = PDO_PARAM_TYPE(col->param_type); in fetch_value()
1543 zend_long param_type = PDO_PARAM_STR; in register_bound_param() local
1552 &parameter, &param_type, &param.max_value_len, in register_bound_param()
1558 param.param_type = (int) param_type; in register_bound_param()
1586 zend_long param_type = PDO_PARAM_STR; in PHP_METHOD() local
1593 "lz/|l", &param.paramno, &parameter, &param_type)) { in PHP_METHOD()
1595 &parameter, &param_type)) { in PHP_METHOD()
1600 param.param_type = (int) param_type; in PHP_METHOD()
1828 if (col->param_type != PDO_PARAM_ZVAL) { in PHP_METHOD()
[all …]
H A Dphp_pdo_driver.h531 enum pdo_param_type param_type; member
552 enum pdo_param_type param_type; /* desired or suggested variable type */ member
H A Dpdo_sql_parser.c526 if (param->param_type == PDO_PARAM_LOB && Z_TYPE_P(parameter) == IS_RESOURCE) { in pdo_parse_params()
538 param->param_type)) { in pdo_parse_params()
582 param->param_type)) { in pdo_parse_params()
H A Dpdo_sql_parser.re212 if (param->param_type == PDO_PARAM_LOB && Z_TYPE_P(parameter) == IS_RESOURCE) {
224 param->param_type)) {
268 param->param_type)) {
/PHP-7.0/ext/pdo_oci/
H A Doci_statement.c251 if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_LOB) { in oci_bind_output_cb()
323 switch (PDO_PARAM_TYPE(param->param_type)) { in oci_stmt_param_hook()
367 if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_LOB) { in oci_stmt_param_hook()
389 } else if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_LOB && P->thing) { in oci_stmt_param_hook()
575 col->param_type = PDO_PARAM_STR; in oci_stmt_describe()
580 col->param_type = PDO_PARAM_LOB; in oci_stmt_describe()
612 col->param_type = PDO_PARAM_STR; in oci_stmt_describe()
/PHP-7.0/ext/pdo_sqlite/
H A Dsqlite_statement.c97 switch (PDO_PARAM_TYPE(param->param_type)) { in pdo_sqlite_stmt_param_hook()
257 stmt->columns[colno].param_type = PDO_PARAM_STR; in pdo_sqlite_stmt_describe()
/PHP-7.0/ext/pdo_mysql/
H A Dmysql_statement.c499 if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_NULL || (Z_TYPE_P(parameter) == IS_NULL)) { in pdo_mysql_stmt_param_hook()
506 if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_NULL || Z_TYPE_P(parameter) == IS_NULL) { in pdo_mysql_stmt_param_hook()
516 switch (PDO_PARAM_TYPE(param->param_type)) { in pdo_mysql_stmt_param_hook()
714 cols[i].param_type = PDO_PARAM_ZVAL;
718 cols[i].param_type = PDO_PARAM_STR;
/PHP-7.0/ext/pdo_firebird/
H A Dfirebird_statement.c222 col->param_type = PDO_PARAM_STR; in firebird_stmt_describe()
230 col->param_type = PDO_PARAM_INT; in firebird_stmt_describe()
233 col->param_type = PDO_PARAM_STR; in firebird_stmt_describe()
673 switch (PDO_PARAM_TYPE(param->param_type)) { in firebird_stmt_param_hook()
/PHP-7.0/ext/pdo_dblib/
H A Ddblib_stmt.c250 col->param_type = PDO_PARAM_ZVAL; in pdo_dblib_stmt_describe()

Completed in 40 milliseconds