Home
last modified time | relevance | path

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

/PHP-7.4/ext/pdo_sqlite/tests/
H A Ddebugdumpparams_001.phpt23 paramno=-1
28 paramno=-1
33 paramno=2
/PHP-7.4/ext/pdo_pgsql/tests/
H A Ddebug_emulated_prepares.phpt31 paramno=-1
36 paramno=-1
41 paramno=-1
46 paramno=-1
H A Dbug71573.phpt2 Bug #71573 (Segfault (core dumped) if paramno beyond bound)
/PHP-7.4/ext/pdo_sqlite/
H A Dsqlite_statement.c131 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 Dpgsql_statement.c285 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 Ddebug_emulated_prepares.phpt47 paramno=-1
52 paramno=-1
57 paramno=-1
62 paramno=-1
/PHP-7.4/ext/pdo_firebird/tests/
H A Dbug_48877.phpt21 $query = "SELECT * FROM testz WHERE A = :paramno";
24 $stmt->bindParam(':paramno', $value, PDO::PARAM_STR);
/PHP-7.4/ext/pdo_mysql/
H A Dmysql_statement.c471 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 Dpdo_dblib_param_str_natl.phpt23 paramno=-1
/PHP-7.4/ext/pdo/
H A Dpdo_stmt.c68 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 Dphp_pdo_driver.h550 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 Dfirebird_statement.c528 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 Dodbc_stmt.c322 …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 Doci_statement.c350 &P->bind, S->err, ((ub4)param->paramno)+1, in oci_stmt_param_hook()

Completed in 51 milliseconds