Home
last modified time | relevance | path

Searched refs:stmt (Results 1 – 25 of 504) sorted by relevance

12345678910>>...21

/PHP-8.2/ext/mysqlnd/
H A Dmysqlnd_ps.c80 if (!stmt || !conn || !stmt->result) { in MYSQLND_METHOD()
150 if (!stmt || !conn || !stmt->result) { in MYSQLND_METHOD()
230 if (!stmt || !conn || !stmt->result) { in MYSQLND_METHOD()
727 if (!stmt || !conn || !stmt->result) { in MYSQLND_METHOD()
743 result->m.use_result(stmt->result, stmt); in MYSQLND_METHOD()
858 if (!stmt || !stmt->conn) { in MYSQLND_METHOD()
1383 return stmt && stmt->result? mysqlnd_num_rows(stmt->result):0; in MYSQLND_METHOD()
1413 return stmt? stmt->field_count : 0; in MYSQLND_METHOD()
1423 return stmt? stmt->param_count : 0; in MYSQLND_METHOD()
1463 return stmt && stmt->result? stmt->result->m.seek_data(stmt->result, row) : FAIL; in MYSQLND_METHOD()
[all …]
H A Dmysqlnd.h163 #define mysqlnd_stmt_num_rows(stmt) (stmt)->m->get_num_rows((stmt)) argument
164 #define mysqlnd_stmt_param_count(stmt) (stmt)->m->get_param_count((stmt)) argument
168 #define mysqlnd_stmt_errno(stmt) (stmt)->m->get_error_no((stmt)) argument
169 #define mysqlnd_stmt_error(stmt) (stmt)->m->get_error_str((stmt)) argument
170 #define mysqlnd_stmt_sqlstate(stmt) (stmt)->m->get_sqlstate((stmt)) argument
216 #define mysqlnd_stmt_get_result(stmt) (stmt)->m->get_result((stmt)) argument
218 #define mysqlnd_stmt_next_result(stmt) (stmt)->m->next_result((stmt)) argument
221 #define mysqlnd_stmt_execute(stmt) (stmt)->m->execute((stmt)) argument
234 #define mysqlnd_stmt_free_result(stmt) (stmt)->m->free_result((stmt)) argument
236 #define mysqlnd_stmt_reset(stmt) (stmt)->m->reset((stmt)) argument
[all …]
/PHP-8.2/ext/pdo_sqlite/
H A Dsqlite_statement.c34 if (S->stmt) { in pdo_sqlite_stmt_dtor()
36 S->stmt = NULL; in pdo_sqlite_stmt_dtor()
47 sqlite3_reset(S->stmt); in pdo_sqlite_stmt_execute()
54 php_pdo_stmt_set_column_count(stmt, sqlite3_data_count(S->stmt)); in pdo_sqlite_stmt_execute()
58 php_pdo_stmt_set_column_count(stmt, sqlite3_column_count(S->stmt)); in pdo_sqlite_stmt_execute()
60 sqlite3_reset(S->stmt); in pdo_sqlite_stmt_execute()
65 sqlite3_reset(S->stmt); in pdo_sqlite_stmt_execute()
207 if (!S->stmt) { in pdo_sqlite_stmt_fetch()
259 if (!S->stmt) { in pdo_sqlite_stmt_get_col()
308 if (!S->stmt) { in pdo_sqlite_stmt_col_meta()
[all …]
/PHP-8.2/ext/mysqli/tests/
H A Dmysqli_class_mysqli_stmt_interface.phpt101 assert(mysqli_stmt_errno($stmt) === $stmt->errno);
102 printf("stmt->errno = '%s'\n", $stmt->errno);
104 assert(mysqli_stmt_error($stmt) === $stmt->error);
105 printf("stmt->error = '%s'\n", $stmt->error);
108 var_dump("stmt->error = ", $stmt->error_list);
114 printf("stmt->id = '%s'\n", $stmt->id);
117 printf("stmt->insert_id = '%s'\n", $stmt->insert_id);
120 printf("stmt->num_rows = '%s'\n", $stmt->num_rows);
126 printf("stmt->sqlstate = '%s'\n", $stmt->sqlstate);
129 printf("stmt->unknown = '%s'\n", @$stmt->unknown);
[all …]
H A Dmysqli_stmt_bind_param_call_user_func.phpt18 printf("[002] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
23 printf("[003] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
28 printf("[004] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
39 printf("[006] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
44 0 => &$stmt,
49 printf("[007] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
156 0 => &$stmt,
185 0 => $stmt,
214 0 => $stmt,
242 0 => $stmt,
[all …]
H A Dmysqli_stmt_affected_rows.phpt32 mysqli_stmt_close($stmt);
37 printf("[006] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
39 mysqli_stmt_close($stmt);
44 printf("[007] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
49 mysqli_stmt_close($stmt);
61 mysqli_stmt_close($stmt);
66 printf("[011] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
76 printf("[013] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
86 printf("[015] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
102 printf("[018] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
[all …]
H A Dmysqli_stmt_get_result2.phpt26 printf("[005] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
29 printf("[006] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
33 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
42 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
55 mysqli_stmt_close($stmt);
60 printf("[010] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
64 printf("[011] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
67 printf("[012] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
71 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
79 printf("[014] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
[all …]
H A Dmysqli_stmt_execute.phpt22 // stmt object status test
32 // stmt object status test
40 printf("[007] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
44 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
56 printf("[011] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
59 printf("[012] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
67 printf("[014] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
71 printf("[015] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
75 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
78 if (!mysqli_stmt_bind_result($stmt, $id) || !mysqli_stmt_fetch($stmt))
[all …]
H A Dmysqli_stmt_data_seek.phpt25 printf("[005] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
33 printf("[007] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
36 printf("[008] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
41 if (!mysqli_stmt_fetch($stmt))
42 printf("[010] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
50 printf("[012] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
54 if (!is_null($tmp = mysqli_stmt_data_seek($stmt, mysqli_stmt_num_rows($stmt) + 100)))
57 if (mysqli_stmt_fetch($stmt))
58 printf("[014] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
69 printf("[016] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
[all …]
H A Dmysqli_stmt_get_result.phpt26 // stmt object status test
34 printf("[005] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
41 printf("[007] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
44 printf("[008] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
49 mysqli_stmt_close($stmt);
62 printf("[012] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
69 printf("[014] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
88 printf("[019] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
94 printf("[023] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
148 mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
[all …]
H A Dmysqli_stmt_attr_set.phpt44 $stmt->close();
52 $stmt->execute();
63 $stmt->close();
72 $stmt->execute();
83 $stmt->close();
103 $stmt->close();
132 $stmt->close();
142 $stmt->close();
156 $stmt->close();
173 $stmt->close();
[all …]
H A Dmysqli_stmt_field_count.phpt15 $stmt = mysqli_stmt_init($link);
18 mysqli_stmt_field_count($stmt);
23 if (mysqli_stmt_prepare($stmt, ''))
27 mysqli_stmt_field_count($stmt);
33 printf("[006] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
38 printf("[008] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
43 printf("[010] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
49 printf("[012] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
65 printf("[016] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
71 printf("[018] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
[all …]
H A Dmysqli_stmt_execute_stored_proc.phpt39 if (!mysqli_stmt_close($stmt))
51 printf("[017] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
56 mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
59 mysqli_stmt_close($stmt);
94 mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
129 printf("[034] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
134 mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
137 mysqli_stmt_close($stmt);
171 printf("[044] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
176 mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
[all …]
H A Dmysqli_stmt_close.phpt15 if (!$stmt = mysqli_stmt_init($link))
20 mysqli_stmt_close($stmt);
26 printf("[005] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
32 mysqli_stmt_close($stmt);
41 printf("[009] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
45 printf("[010] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
49 printf("[011] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
63 printf("[014] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
67 printf("[015] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
69 if (!mysqli_stmt_execute($stmt) || !mysqli_stmt_fetch($stmt))
[all …]
H A Dmysqli_stmt_insert_id.phpt15 $stmt = mysqli_stmt_init($link);
18 mysqli_stmt_insert_id($stmt);
24 !mysqli_stmt_execute($stmt)) {
25 printf("[004] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
30 mysqli_stmt_close($stmt);
33 $stmt = mysqli_stmt_init($link);
35 !mysqli_stmt_execute($stmt)) {
36 printf("[006] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
45 printf("[008] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
52 printf("[009] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
[all …]
H A Dmysqli_stmt_bind_result_references.phpt27 if (!mysqli_stmt_execute($stmt) || !mysqli_stmt_fetch($stmt) || mysqli_stmt_fetch($stmt))
44 if (!mysqli_stmt_execute($stmt) || !mysqli_stmt_fetch($stmt) || mysqli_stmt_fetch($stmt))
64 if (!mysqli_stmt_execute($stmt) || !mysqli_stmt_fetch($stmt) || mysqli_stmt_fetch($stmt))
83 if (!mysqli_stmt_execute($stmt) || !mysqli_stmt_fetch($stmt) || mysqli_stmt_fetch($stmt))
97 if (!mysqli_stmt_execute($stmt) || !mysqli_stmt_fetch($stmt) || mysqli_stmt_fetch($stmt))
112 if (!mysqli_stmt_execute($stmt) || !mysqli_stmt_fetch($stmt) || mysqli_stmt_fetch($stmt))
130 if (!mysqli_stmt_execute($stmt) || !mysqli_stmt_fetch($stmt) || mysqli_stmt_fetch($stmt))
150 if (!mysqli_stmt_execute($stmt) || !mysqli_stmt_fetch($stmt) || mysqli_stmt_fetch($stmt))
171 if (!mysqli_stmt_execute($stmt) || !mysqli_stmt_fetch($stmt) || mysqli_stmt_fetch($stmt))
186 if (!mysqli_stmt_execute($stmt) || !mysqli_stmt_fetch($stmt) || mysqli_stmt_fetch($stmt))
[all …]
H A Dps_cursor_multiple_result_sets.phpt29 $stmt->execute();
35 $stmt->next_result();
40 $stmt->next_result();
44 $stmt->execute();
45 $stmt->store_result();
51 $stmt->next_result();
52 $stmt->store_result();
57 $stmt->next_result();
61 $stmt->execute();
67 $stmt->next_result();
[all …]
H A Dmysqli_ps_select_union.phpt31 if (!$stmt->execute() || !$stmt->bind_result($column1))
32 printf("[003] [%d] %s\n", $stmt->errno, $stmt->error);
56 if (!$stmt->bind_result($column1) || !$stmt->execute())
57 printf("[006] [%d] %s\n", $stmt->errno, $stmt->error);
85 if (!$stmt->execute() || !$stmt->bind_result($column1))
104 if (!$stmt->bind_result($column1) || !$stmt->execute())
132 if (!$stmt->execute() || !$stmt->bind_result($column1))
171 … if (!$stmt->bind_param('ss', $three, $two) || !$stmt->execute() || !$stmt->bind_result($column1))
189 … if (!$stmt->bind_param('ss', $three, $two) || !$stmt->bind_result($column1) || !$stmt->execute())
209 … if (!$stmt->bind_param('ss', $three, $two) || !$stmt->execute() || !$stmt->bind_result($column1))
[all …]
H A Dmysqli_stmt_multires.phpt23 printf("[003] [%d] %s\n", $stmt->error, $stmt->errno);
27 printf("[005] [%d] %s\n", $stmt->error, $stmt->errno);
33 printf("[004] [%d] %s\n", $stmt->error, $stmt->errno);
37 if (!$stmt->fetch()) {
38 printf("[006] [%d] %s\n", $stmt->error, $stmt->errno);
43 if ($stmt->fetch()) {
48 if ($stmt->fetch()) {
59 printf("[010] [%d] %s\n", $stmt->error, $stmt->errno);
64 printf("[011] [%d] %s\n", $stmt->error, $stmt->errno);
69 if ($stmt->fetch()) {
[all …]
/PHP-8.2/ext/pdo/
H A Dpdo_stmt.c135 if (!stmt->methods->describer(stmt, col)) { in pdo_stmt_describe_columns()
218 row->stmt = stmt; in get_lazy_object()
288 param->stmt = stmt; in really_register_bound_param()
463 if (stmt->methods->executer(stmt)) { in PHP_METHOD()
1556 stmt->dbh->methods->fetch_err(stmt->dbh, stmt, return_value); in PHP_METHOD()
2119 stmt->methods->dtor(stmt); in php_pdo_free_statement()
2301 pdo_stmt_t *stmt = row->stmt; in row_prop_read() local
2338 pdo_stmt_t *stmt = row->stmt; in row_dim_read() local
2375 pdo_stmt_t *stmt = row->stmt; in row_prop_exists() local
2400 pdo_stmt_t *stmt = row->stmt; in row_dim_exists() local
[all …]
/PHP-8.2/ext/pdo_mysql/
H A Dmysql_statement.c81 if (S->stmt) { in pdo_mysql_stmt_dtor()
83 S->stmt = NULL; in pdo_mysql_stmt_dtor()
168 php_pdo_stmt_set_column_count(stmt, mysql_stmt_field_count(S->stmt)); in pdo_mysql_stmt_after_execute_prepared()
279 S->stmt = NULL; in pdo_mysql_stmt_execute_prepared_libmysql()
317 if (S->stmt) { in pdo_mysql_stmt_execute()
349 if (S->stmt) { in pdo_mysql_stmt_next_rowset()
564 if (S->stmt) { in pdo_mysql_stmt_fetch()
594 if (S->stmt) { in pdo_mysql_stmt_fetch()
684 if (S->stmt) { in pdo_mysql_stmt_get_col()
691 if (S->stmt) { in pdo_mysql_stmt_get_col()
[all …]
/PHP-8.2/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_bindvalue.phpt28 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
30 $stmt->execute();
35 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
39 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
50 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
57 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
61 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
74 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
81 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
85 $stmt->errorCode(), var_export($stmt->errorInfo(), true));
[all …]
/PHP-8.2/ext/mysqli/
H A Dmysqli_api.c161 MYSQLI_REPORT_STMT_ERROR(stmt->stmt); in PHP_FUNCTION()
466 if (mysql_stmt_execute(stmt->stmt)) { in PHP_FUNCTION()
490 mysqli_stmt_close(stmt->stmt, false); in close_stmt_and_copy_errors()
491 stmt->stmt = NULL; in close_stmt_and_copy_errors()
549 stmt->stmt = NULL; in PHP_FUNCTION()
559 stmt->stmt = NULL; in PHP_FUNCTION()
582 if (mysql_stmt_execute(stmt->stmt)) { in PHP_FUNCTION()
1320 stmt->stmt = NULL; in PHP_FUNCTION()
1335 if (!stmt->stmt) { in PHP_FUNCTION()
1491 stmt->stmt = NULL; in PHP_FUNCTION()
[all …]
/PHP-8.2/ext/pdo_oci/tests/
H A Dpdo_oci_templob_1.phpt29 $stmt->execute();
30 $row = $stmt->fetch();
32 $stmt->execute();
35 $stmt->execute();
38 $stmt->execute();
41 $stmt->execute();
44 $stmt->execute();
47 $stmt->execute();
50 $stmt->execute();
53 $stmt->execute();
[all …]
/PHP-8.2/ext/pdo_dblib/tests/
H A Dbatch_stmt_rowcount.phpt15 $stmt = $db->query(
25 var_dump($stmt->rowCount());
26 var_dump($stmt->nextRowset());
29 var_dump($stmt->rowCount());
33 var_dump($stmt->rowCount());
37 var_dump($stmt->rowCount());
41 var_dump($stmt->rowCount());
45 var_dump($stmt->fetchAll());
46 var_dump($stmt->rowCount());
50 var_dump($stmt->rowCount());
[all …]

Completed in 63 milliseconds

12345678910>>...21