Searched refs:paramno (Results 1 – 14 of 14) sorted by relevance
/PHP-7.4/ext/pdo_sqlite/tests/ |
H A D | debugdumpparams_001.phpt | 23 paramno=-1 28 paramno=-1 33 paramno=2
|
/PHP-7.4/ext/pdo_pgsql/tests/ |
H A D | debug_emulated_prepares.phpt | 31 paramno=-1 36 paramno=-1 41 paramno=-1 46 paramno=-1
|
H A D | bug71573.phpt | 2 Bug #71573 (Segfault (core dumped) if paramno beyond bound)
|
/PHP-7.4/ext/pdo_sqlite/ |
H A D | sqlite_statement.c | 131 if (param->paramno == -1) { in pdo_sqlite_stmt_param_hook() 132 param->paramno = sqlite3_bind_parameter_index(S->stmt, ZSTR_VAL(param->name)) - 1; in pdo_sqlite_stmt_param_hook() 140 if (sqlite3_bind_null(S->stmt, param->paramno + 1) == SQLITE_OK) { in pdo_sqlite_stmt_param_hook() 154 if (sqlite3_bind_null(S->stmt, param->paramno + 1) == SQLITE_OK) { in pdo_sqlite_stmt_param_hook() 160 if (SQLITE_OK == sqlite3_bind_int64(S->stmt, param->paramno + 1, Z_LVAL_P(parameter))) { in pdo_sqlite_stmt_param_hook() 164 if (SQLITE_OK == sqlite3_bind_int(S->stmt, param->paramno + 1, Z_LVAL_P(parameter))) { in pdo_sqlite_stmt_param_hook() 190 if (sqlite3_bind_null(S->stmt, param->paramno + 1) == SQLITE_OK) { in pdo_sqlite_stmt_param_hook() 201 if (SQLITE_OK == sqlite3_bind_blob(S->stmt, param->paramno + 1, in pdo_sqlite_stmt_param_hook() 217 if (sqlite3_bind_null(S->stmt, param->paramno + 1) == SQLITE_OK) { in pdo_sqlite_stmt_param_hook() 224 if (SQLITE_OK == sqlite3_bind_text(S->stmt, param->paramno + 1, in pdo_sqlite_stmt_param_hook()
|
/PHP-7.4/ext/pdo_pgsql/ |
H A D | pgsql_statement.c | 285 param->paramno--; in pgsql_stmt_param_hook() 326 if (param->paramno >= 0) { in pgsql_stmt_param_hook() 358 S->param_formats[param->paramno] = 1; in pgsql_stmt_param_hook() 379 S->param_values[param->paramno] = NULL; in pgsql_stmt_param_hook() 380 S->param_lengths[param->paramno] = 0; in pgsql_stmt_param_hook() 383 S->param_lengths[param->paramno] = 1; in pgsql_stmt_param_hook() 384 S->param_formats[param->paramno] = 0; in pgsql_stmt_param_hook() 390 S->param_formats[param->paramno] = 0; in pgsql_stmt_param_hook() 394 S->param_types[param->paramno] = 0; in pgsql_stmt_param_hook() 395 S->param_formats[param->paramno] = 1; in pgsql_stmt_param_hook() [all …]
|
/PHP-7.4/ext/pdo/tests/ |
H A D | debug_emulated_prepares.phpt | 47 paramno=-1 52 paramno=-1 57 paramno=-1 62 paramno=-1
|
/PHP-7.4/ext/pdo_firebird/tests/ |
H A D | bug_48877.phpt | 21 $query = "SELECT * FROM testz WHERE A = :paramno"; 24 $stmt->bindParam(':paramno', $value, PDO::PARAM_STR);
|
/PHP-7.4/ext/pdo_mysql/ |
H A D | mysql_statement.c | 471 if (param->paramno < 0 || param->paramno >= S->num_params) { in pdo_mysql_stmt_param_hook() 478 b = &S->params[param->paramno]; in pdo_mysql_stmt_param_hook() 480 b->is_null = &S->in_null[param->paramno]; in pdo_mysql_stmt_param_hook() 481 b->length = &S->in_length[param->paramno]; in pdo_mysql_stmt_param_hook() 502 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, parameter, MYSQL_TYPE_NULL); in pdo_mysql_stmt_param_hook() 556 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, parameter, MYSQL_TYPE_VAR_STRING); in pdo_mysql_stmt_param_hook() 560 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, parameter, MYSQL_TYPE_LONGLONG); in pdo_mysql_stmt_param_hook() 562 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, parameter, MYSQL_TYPE_LONG); in pdo_mysql_stmt_param_hook() 567 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, parameter, MYSQL_TYPE_TINY); in pdo_mysql_stmt_param_hook() 570 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, parameter, MYSQL_TYPE_DOUBLE); in pdo_mysql_stmt_param_hook()
|
/PHP-7.4/ext/pdo_dblib/tests/ |
H A D | pdo_dblib_param_str_natl.phpt | 23 paramno=-1
|
/PHP-7.4/ext/pdo/ |
H A D | pdo_stmt.c | 68 ZEND_ARG_INFO(0, paramno) in ZEND_END_ARG_INFO() 74 ZEND_ARG_INFO(0, paramno) in ZEND_END_ARG_INFO() 145 if (param->paramno >= 0) { 234 param->paramno = col; in pdo_stmt_describe_columns() 338 param->paramno = i; in really_register_bound_param() 390 if (param->paramno >= 0) { in really_register_bound_param() 454 param.paramno = -1; in PHP_METHOD() 1535 param.paramno = -1; in register_bound_param() 1549 if (param.paramno > 0) { in register_bound_param() 1580 param.paramno = -1; in PHP_METHOD() [all …]
|
H A D | php_pdo_driver.h | 550 zend_long paramno; /* if -1, then it has a name, and we don't know the index *yet* */ member
|
/PHP-7.4/ext/pdo_firebird/ |
H A D | firebird_statement.c | 528 if (!sqlda || param->paramno >= sqlda->sqld) { in firebird_stmt_param_hook() 533 if (param->is_param && param->paramno == -1) { in firebird_stmt_param_hook() 538 param->paramno = Z_LVAL_P(index); in firebird_stmt_param_hook() 550 param->paramno = i; in firebird_stmt_param_hook() 562 var = &sqlda->sqlvar[param->paramno]; in firebird_stmt_param_hook() 737 if (param->paramno == -1) { in firebird_stmt_param_hook() 754 if (firebird_stmt_get_col(stmt, param->paramno, &value, &value_len, &caller_frees)) { in firebird_stmt_param_hook()
|
/PHP-7.4/ext/pdo_odbc/ |
H A D | odbc_stmt.c | 322 …rc = SQLDescribeParam(S->stmt, (SQLUSMALLINT) param->paramno+1, &sqltype, &precision, &scale, &nul… in odbc_stmt_param_hook() 386 rc = SQLBindParameter(S->stmt, (SQLUSMALLINT) param->paramno+1, in odbc_stmt_param_hook()
|
/PHP-7.4/ext/pdo_oci/ |
H A D | oci_statement.c | 350 &P->bind, S->err, ((ub4)param->paramno)+1, in oci_stmt_param_hook()
|
Completed in 51 milliseconds