Home
last modified time | relevance | path

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

/PHP-5.4/ext/pdo_sqlite/
H A Dsqlite_statement.c92 if (param->paramno == -1) { in pdo_sqlite_stmt_param_hook()
93 param->paramno = sqlite3_bind_parameter_index(S->stmt, param->name) - 1; in pdo_sqlite_stmt_param_hook()
101 if (sqlite3_bind_null(S->stmt, param->paramno + 1) == SQLITE_OK) { in pdo_sqlite_stmt_param_hook()
110 if (sqlite3_bind_null(S->stmt, param->paramno + 1) == SQLITE_OK) { in pdo_sqlite_stmt_param_hook()
116 … if (SQLITE_OK == sqlite3_bind_int64(S->stmt, param->paramno + 1, Z_LVAL_P(param->parameter))) { in pdo_sqlite_stmt_param_hook()
120 if (SQLITE_OK == sqlite3_bind_int(S->stmt, param->paramno + 1, Z_LVAL_P(param->parameter))) { in pdo_sqlite_stmt_param_hook()
142 if (sqlite3_bind_null(S->stmt, param->paramno + 1) == SQLITE_OK) { in pdo_sqlite_stmt_param_hook()
151 if (SQLITE_OK == sqlite3_bind_blob(S->stmt, param->paramno + 1, in pdo_sqlite_stmt_param_hook()
163 if (sqlite3_bind_null(S->stmt, param->paramno + 1) == SQLITE_OK) { in pdo_sqlite_stmt_param_hook()
168 if(SQLITE_OK == sqlite3_bind_text(S->stmt, param->paramno + 1, in pdo_sqlite_stmt_param_hook()
/PHP-5.4/ext/pdo_sqlite/tests/
H A Ddebugdumpparams_001.phpt23 paramno=-1
28 paramno=-1
33 paramno=2
/PHP-5.4/ext/pdo_pgsql/
H A Dpgsql_statement.c256 param->paramno = atoi(param->name + 1); in pgsql_stmt_param_hook()
296 if (param->paramno >= 0) { in pgsql_stmt_param_hook()
318 S->param_formats[param->paramno] = 1; in pgsql_stmt_param_hook()
342 S->param_values[param->paramno] = NULL; in pgsql_stmt_param_hook()
343 S->param_lengths[param->paramno] = 0; in pgsql_stmt_param_hook()
346 S->param_lengths[param->paramno] = 1; in pgsql_stmt_param_hook()
347 S->param_formats[param->paramno] = 0; in pgsql_stmt_param_hook()
353 S->param_formats[param->paramno] = 0; in pgsql_stmt_param_hook()
357 S->param_types[param->paramno] = 0; in pgsql_stmt_param_hook()
358 S->param_formats[param->paramno] = 1; in pgsql_stmt_param_hook()
[all …]
/PHP-5.4/ext/pdo_firebird/tests/
H A Dbug_48877.phpt20 $query = "SELECT * FROM testz WHERE A = :paramno";
23 $stmt->bindParam(':paramno', $value, PDO::PARAM_STR);
/PHP-5.4/ext/pdo_mysql/
H A Dmysql_statement.c463 if (param->paramno < 0 || param->paramno >= S->num_params) { in pdo_mysql_stmt_param_hook()
470 b = &S->params[param->paramno]; in pdo_mysql_stmt_param_hook()
472 b->is_null = &S->in_null[param->paramno]; in pdo_mysql_stmt_param_hook()
473 b->length = &S->in_length[param->paramno]; in pdo_mysql_stmt_param_hook()
489 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, param->parameter, MYSQL_TYPE_NULL); in pdo_mysql_stmt_param_hook()
535 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, param->parameter, MYSQL_TYPE_VAR_STRING); in pdo_mysql_stmt_param_hook()
539 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, param->parameter, MYSQL_TYPE_LONGLONG); in pdo_mysql_stmt_param_hook()
541 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, param->parameter, MYSQL_TYPE_LONG); in pdo_mysql_stmt_param_hook()
545 mysqlnd_stmt_bind_one_param(S->stmt, param->paramno, param->parameter, MYSQL_TYPE_DOUBLE); in pdo_mysql_stmt_param_hook()
/PHP-5.4/ext/pdo/
H A Dpdo_stmt.c70 ZEND_ARG_INFO(0, paramno) in ZEND_END_ARG_INFO()
76 ZEND_ARG_INFO(0, paramno) in ZEND_END_ARG_INFO()
245 param->paramno = col; in pdo_stmt_describe_columns()
254 param->paramno = col; in pdo_stmt_describe_columns()
347 param->paramno = i; in really_register_bound_param()
399 if (param->paramno >= 0) { in really_register_bound_param()
466 param.paramno = -1; in PHP_METHOD()
1587 param.paramno = -1; in register_bound_param()
1601 if (param.paramno > 0) { in register_bound_param()
1627 param.paramno = -1; in PHP_METHOD()
[all …]
H A Dphp_pdo_driver.h526 long paramno; /* if -1, then it has a name, and we don't know the index *yet* */ member
/PHP-5.4/ext/pdo_firebird/
H A Dfirebird_statement.c461 if (!sqlda || param->paramno >= sqlda->sqld) { in firebird_stmt_param_hook()
466 if (param->is_param && param->paramno == -1) { in firebird_stmt_param_hook()
471 param->paramno = *index; in firebird_stmt_param_hook()
483 param->paramno = i; in firebird_stmt_param_hook()
495 var = &sqlda->sqlvar[param->paramno]; in firebird_stmt_param_hook()
586 if (param->paramno == -1) { in firebird_stmt_param_hook()
596 if (firebird_stmt_get_col(stmt, param->paramno, &value, &value_len, &caller_frees TSRMLS_CC)) { in firebird_stmt_param_hook()
/PHP-5.4/ext/pdo_odbc/
H A Dodbc_stmt.c316 …rc = SQLDescribeParam(S->stmt, (SQLUSMALLINT) param->paramno+1, &sqltype, &precision, &scale, &nul… in odbc_stmt_param_hook()
373 rc = SQLBindParameter(S->stmt, (SQLUSMALLINT) param->paramno+1, in odbc_stmt_param_hook()
/PHP-5.4/ext/pdo_oci/
H A Doci_statement.c319 &P->bind, S->err, param->paramno+1, in oci_stmt_param_hook()

Completed in 26 milliseconds