Home
last modified time | relevance | path

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

/php-src/ext/pdo_sqlite/tests/
H A Ddebugdumpparams_001.phpt24 param_type=1
29 param_type=2
34 param_type=2
/php-src/ext/pdo_pgsql/tests/
H A Dpg_debug_emulated_prepares.phpt35 param_type=2
40 param_type=1
45 param_type=2
50 param_type=0
/php-src/ext/pdo/tests/
H A Ddebug_emulated_prepares.phpt51 param_type=5
56 param_type=1
61 param_type=2
66 param_type=0
/php-src/ext/pdo_pgsql/
H A Dpgsql_statement.c449 if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_LOB && in pgsql_stmt_param_hook()
483 if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_NULL || in pgsql_stmt_param_hook()
498 if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_LOB) { in pgsql_stmt_param_hook()
509 if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_BOOL && in pgsql_stmt_param_hook()
512 param->param_type = PDO_PARAM_STR; in pgsql_stmt_param_hook()
807 enum pdo_param_type param_type; in pgsql_stmt_get_column_meta() local
810 param_type = PDO_PARAM_BOOL; in pgsql_stmt_get_column_meta()
815 param_type = PDO_PARAM_INT; in pgsql_stmt_get_column_meta()
819 param_type = PDO_PARAM_LOB; in pgsql_stmt_get_column_meta()
822 param_type = PDO_PARAM_STR; in pgsql_stmt_get_column_meta()
[all …]
/php-src/ext/pdo_dblib/tests/
H A Dpdo_dblib_param_str_natl.phpt30 param_type=1073741826
/php-src/ext/pdo/
H A Dpdo_sql_parser.re241 if (param->param_type == PDO_PARAM_LOB && Z_TYPE_P(parameter) == IS_RESOURCE) {
253 plc->quoted = stmt->dbh->methods->quoter(stmt->dbh, buf, param->param_type);
271 enum pdo_param_type param_type = param->param_type;
276 param_type = PDO_PARAM_NULL;
279 switch (param_type) {
302 plc->quoted = stmt->dbh->methods->quoter(stmt->dbh, buf, param_type);
H A Dpdo_stmt.c272 …if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_STR && param->max_value_len <= 0 && !Z_ISNULL_P… in really_register_bound_param()
278 } else if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_BOOL && Z_TYPE_P(parameter) == IS_LONG) { in really_register_bound_param()
419 param.param_type = PDO_PARAM_STR; in PHP_METHOD()
599 fetch_value(stmt, Z_REFVAL(param->parameter), param->paramno, &param->param_type); in do_fetch_common()
1401 zend_long param_type = PDO_PARAM_STR; in register_bound_param() local
1410 Z_PARAM_LONG(param_type) in register_bound_param()
1417 param.param_type = (int) param_type; in register_bound_param()
1452 zend_long param_type = PDO_PARAM_STR; in PHP_METHOD() local
1461 Z_PARAM_LONG(param_type) in PHP_METHOD()
1465 param.param_type = (int) param_type; in PHP_METHOD()
[all …]
H A Dphp_pdo_driver.h552 enum pdo_param_type param_type; /* desired or suggested variable type */ member
/php-src/ext/pdo_odbc/
H A Dodbc_stmt.c315 switch (PDO_PARAM_TYPE(param->param_type)) { in odbc_stmt_param_hook()
330 switch (PDO_PARAM_TYPE(param->param_type)) { in odbc_stmt_param_hook()
366 if ((param->param_type & PDO_PARAM_INPUT_OUTPUT) == PDO_PARAM_INPUT_OUTPUT) { in odbc_stmt_param_hook()
375 if (PDO_PARAM_TYPE(param->param_type) != PDO_PARAM_NULL) { in odbc_stmt_param_hook()
385 if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_LOB && P->paramtype != SQL_PARAM_INPUT) { in odbc_stmt_param_hook()
414 if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_LOB) { in odbc_stmt_param_hook()
466 …} else if (Z_TYPE_P(parameter) == IS_NULL || PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_NULL) { in odbc_stmt_param_hook()
/php-src/ext/pdo_mysql/
H A Dmysql_statement.c422 if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_NULL || (Z_TYPE_P(parameter) == IS_NULL)) { in pdo_mysql_stmt_param_hook()
429 if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_NULL || Z_TYPE_P(parameter) == IS_NULL) { in pdo_mysql_stmt_param_hook()
439 switch (PDO_PARAM_TYPE(param->param_type)) { in pdo_mysql_stmt_param_hook()
810 enum pdo_param_type param_type; in pdo_mysql_stmt_col_meta() local
821 param_type = PDO_PARAM_INT; in pdo_mysql_stmt_col_meta()
824 param_type = PDO_PARAM_STR; in pdo_mysql_stmt_col_meta()
827 add_assoc_long(return_value, "pdo_type", param_type); in pdo_mysql_stmt_col_meta()
/php-src/ext/pdo_firebird/
H A Dfirebird_statement.c340 enum pdo_param_type param_type; in pdo_firebird_stmt_get_column_meta() local
342 param_type = PDO_PARAM_STR; in pdo_firebird_stmt_get_column_meta()
350 param_type = PDO_PARAM_INT; in pdo_firebird_stmt_get_column_meta()
353 param_type = PDO_PARAM_BOOL; in pdo_firebird_stmt_get_column_meta()
356 param_type = PDO_PARAM_STR; in pdo_firebird_stmt_get_column_meta()
362 add_assoc_long(return_value, "pdo_type", param_type); in pdo_firebird_stmt_get_column_meta()
/php-src/ext/pdo_sqlite/
H A Dsqlite_statement.c94 switch (PDO_PARAM_TYPE(param->param_type)) { in pdo_sqlite_stmt_param_hook()

Completed in 27 milliseconds