Home
last modified time | relevance | path

Searched refs:paramno (Results 1 – 14 of 14) sorted by relevance

/PHP-8.2/ext/pdo_sqlite/tests/
H A Ddebugdumpparams_001.phpt21 paramno=-1
26 paramno=-1
31 paramno=2
/PHP-8.2/ext/pdo_pgsql/tests/
H A Ddebug_emulated_prepares.phpt33 paramno=-1
38 paramno=-1
43 paramno=-1
48 paramno=-1
H A Dbug71573.phpt2 Bug #71573 (Segfault (core dumped) if paramno beyond bound)
/PHP-8.2/ext/pdo_sqlite/
H A Dsqlite_statement.c90 if (param->paramno == -1) { in pdo_sqlite_stmt_param_hook()
91 param->paramno = sqlite3_bind_parameter_index(S->stmt, ZSTR_VAL(param->name)) - 1; in pdo_sqlite_stmt_param_hook()
99 if (sqlite3_bind_null(S->stmt, param->paramno + 1) == SQLITE_OK) { in pdo_sqlite_stmt_param_hook()
113 if (sqlite3_bind_null(S->stmt, param->paramno + 1) == SQLITE_OK) { in pdo_sqlite_stmt_param_hook()
119 if (SQLITE_OK == sqlite3_bind_int64(S->stmt, param->paramno + 1, Z_LVAL_P(parameter))) { in pdo_sqlite_stmt_param_hook()
123 if (SQLITE_OK == sqlite3_bind_int(S->stmt, param->paramno + 1, Z_LVAL_P(parameter))) { in pdo_sqlite_stmt_param_hook()
149 if (sqlite3_bind_null(S->stmt, param->paramno + 1) == SQLITE_OK) { in pdo_sqlite_stmt_param_hook()
160 if (SQLITE_OK == sqlite3_bind_blob(S->stmt, param->paramno + 1, in pdo_sqlite_stmt_param_hook()
176 if (sqlite3_bind_null(S->stmt, param->paramno + 1) == SQLITE_OK) { in pdo_sqlite_stmt_param_hook()
183 if (SQLITE_OK == sqlite3_bind_text(S->stmt, param->paramno + 1, in pdo_sqlite_stmt_param_hook()
/PHP-8.2/ext/pdo_pgsql/
H A Dpgsql_statement.c289 param->paramno--; in pgsql_stmt_param_hook()
331 if (param->paramno >= 0) { in pgsql_stmt_param_hook()
363 S->param_formats[param->paramno] = 1; in pgsql_stmt_param_hook()
383 S->param_values[param->paramno] = NULL; in pgsql_stmt_param_hook()
384 S->param_lengths[param->paramno] = 0; in pgsql_stmt_param_hook()
387 S->param_lengths[param->paramno] = 1; in pgsql_stmt_param_hook()
388 S->param_formats[param->paramno] = 0; in pgsql_stmt_param_hook()
393 S->param_formats[param->paramno] = 0; in pgsql_stmt_param_hook()
397 S->param_types[param->paramno] = 0; in pgsql_stmt_param_hook()
398 S->param_formats[param->paramno] = 1; in pgsql_stmt_param_hook()
[all …]
/PHP-8.2/ext/pdo/tests/
H A Ddebug_emulated_prepares.phpt48 paramno=-1
53 paramno=-1
58 paramno=-1
63 paramno=-1
/PHP-8.2/ext/pdo_firebird/tests/
H A Dbug_48877.phpt24 $query = "SELECT * FROM testz WHERE A = :paramno";
27 $stmt->bindParam(':paramno', $value, PDO::PARAM_STR);
/PHP-8.2/ext/pdo_mysql/
H A Dmysql_statement.c400 if (param->paramno < 0 || param->paramno >= S->num_params) { in pdo_mysql_stmt_param_hook()
406 b = &S->params[param->paramno]; in pdo_mysql_stmt_param_hook()
408 b->is_null = &S->in_null[param->paramno]; in pdo_mysql_stmt_param_hook()
409 b->length = &S->in_length[param->paramno]; in pdo_mysql_stmt_param_hook()
423 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, parameter, MYSQL_TYPE_NULL); in pdo_mysql_stmt_param_hook()
477 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, parameter, MYSQL_TYPE_VAR_STRING); in pdo_mysql_stmt_param_hook()
481 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, parameter, MYSQL_TYPE_LONGLONG); in pdo_mysql_stmt_param_hook()
483 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, parameter, MYSQL_TYPE_LONG); in pdo_mysql_stmt_param_hook()
488 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, parameter, MYSQL_TYPE_TINY); in pdo_mysql_stmt_param_hook()
491 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, parameter, MYSQL_TYPE_DOUBLE); in pdo_mysql_stmt_param_hook()
/PHP-8.2/ext/pdo_dblib/tests/
H A Dpdo_dblib_param_str_natl.phpt24 paramno=-1
/PHP-8.2/ext/pdo/
H A Dpdo_stmt.c76 if (param->paramno >= 0) { in rewrite_name_to_position()
81 param->paramno = position; in rewrite_name_to_position()
166 param->paramno = col; in pdo_stmt_describe_columns()
301 param->paramno = i; in really_register_bound_param()
308 if (param->paramno == -1) { in really_register_bound_param()
355 if (param->paramno >= 0) { in really_register_bound_param()
418 param.paramno = -1; in PHP_METHOD()
422 param.paramno = num_index; in PHP_METHOD()
596 if (param->paramno >= 0) { in do_fetch_common()
1435 param.paramno = -1; in register_bound_param()
[all …]
H A Dphp_pdo_driver.h538 zend_long paramno; /* if -1, then it has a name, and we don't know the index *yet* */ member
/PHP-8.2/ext/pdo_firebird/
H A Dfirebird_statement.c561 if (!sqlda || param->paramno >= sqlda->sqld) { in firebird_stmt_param_hook()
566 if (param->is_param && param->paramno == -1) { in firebird_stmt_param_hook()
571 param->paramno = Z_LVAL_P(index); in firebird_stmt_param_hook()
583 param->paramno = i; in firebird_stmt_param_hook()
595 var = &sqlda->sqlvar[param->paramno]; in firebird_stmt_param_hook()
773 if (param->paramno == -1) { in firebird_stmt_param_hook()
786 return firebird_stmt_get_col(stmt, param->paramno, parameter, NULL); in firebird_stmt_param_hook()
/PHP-8.2/ext/pdo_odbc/
H A Dodbc_stmt.c326 …rc = SQLDescribeParam(S->stmt, (SQLUSMALLINT) param->paramno+1, &sqltype, &precision, &scale, &nul… in odbc_stmt_param_hook()
390 rc = SQLBindParameter(S->stmt, (SQLUSMALLINT) param->paramno+1, in odbc_stmt_param_hook()
/PHP-8.2/ext/pdo_oci/
H A Doci_statement.c343 &P->bind, S->err, ((ub4)param->paramno)+1, in oci_stmt_param_hook()

Completed in 36 milliseconds