Home
last modified time | relevance | path

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

12345678910>>...21

/PHP-8.1/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()
724 if (!stmt || !conn || !stmt->result) { in MYSQLND_METHOD()
740 result->m.use_result(stmt->result, stmt); in MYSQLND_METHOD()
855 if (!stmt || !stmt->conn) { in MYSQLND_METHOD()
1380 return stmt && stmt->result? mysqlnd_num_rows(stmt->result):0; in MYSQLND_METHOD()
1410 return stmt? stmt->field_count : 0; in MYSQLND_METHOD()
1420 return stmt? stmt->param_count : 0; in MYSQLND_METHOD()
1460 return stmt && stmt->result? stmt->result->m.seek_data(stmt->result, row) : FAIL; in MYSQLND_METHOD()
[all …]
H A Dmysqlnd.h164 #define mysqlnd_stmt_num_rows(stmt) (stmt)->m->get_num_rows((stmt)) argument
165 #define mysqlnd_stmt_param_count(stmt) (stmt)->m->get_param_count((stmt)) argument
169 #define mysqlnd_stmt_errno(stmt) (stmt)->m->get_error_no((stmt)) argument
170 #define mysqlnd_stmt_error(stmt) (stmt)->m->get_error_str((stmt)) argument
171 #define mysqlnd_stmt_sqlstate(stmt) (stmt)->m->get_sqlstate((stmt)) argument
217 #define mysqlnd_stmt_get_result(stmt) (stmt)->m->get_result((stmt)) argument
219 #define mysqlnd_stmt_next_result(stmt) (stmt)->m->next_result((stmt)) argument
222 #define mysqlnd_stmt_execute(stmt) (stmt)->m->execute((stmt)) argument
235 #define mysqlnd_stmt_free_result(stmt) (stmt)->m->free_result((stmt)) argument
237 #define mysqlnd_stmt_reset(stmt) (stmt)->m->reset((stmt)) argument
[all …]
/PHP-8.1/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.1/ext/mysqli/tests/
H A Dmysqli_class_mysqli_stmt_interface.phpt103 assert(mysqli_stmt_errno($stmt) === $stmt->errno);
104 printf("stmt->errno = '%s'\n", $stmt->errno);
106 assert(mysqli_stmt_error($stmt) === $stmt->error);
107 printf("stmt->error = '%s'\n", $stmt->error);
110 var_dump("stmt->error = ", $stmt->error_list);
116 printf("stmt->id = '%s'\n", $stmt->id);
119 printf("stmt->insert_id = '%s'\n", $stmt->insert_id);
122 printf("stmt->num_rows = '%s'\n", $stmt->num_rows);
128 printf("stmt->sqlstate = '%s'\n", $stmt->sqlstate);
131 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.phpt24 // stmt object status test
34 // stmt object status test
42 printf("[007] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
46 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
58 printf("[011] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
61 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));
73 printf("[015] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
77 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
80 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_execute_stored_proc.phpt36 if (!mysqli_stmt_close($stmt))
48 printf("[017] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
53 mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
56 mysqli_stmt_close($stmt);
91 mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
126 printf("[034] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
131 mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
134 mysqli_stmt_close($stmt);
168 printf("[044] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
173 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_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_stmt_free_result.phpt20 if (!$stmt = mysqli_stmt_init($link))
23 // stmt object status test
25 mysqli_stmt_free_result($stmt);
31 printf("[005] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
36 if (!mysqli_stmt_execute($stmt))
37 printf("[007] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
45 mysqli_stmt_close($stmt);
51 printf("[011] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
53 if (!mysqli_stmt_execute($stmt))
54 printf("[012] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
[all …]
H A Dmysqli_stmt_execute_bind.phpt25 $stmt->execute();
27 $stmt = null;
33 $stmt = null;
42 $stmt = null;
51 $stmt = null;
60 $stmt = null;
69 $stmt = null;
78 $stmt = null;
87 $stmt = null;
95 $stmt = null;
[all …]
/PHP-8.1/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()
2102 stmt->methods->dtor(stmt); in php_pdo_free_statement()
2264 pdo_stmt_t *stmt = row->stmt; in row_prop_read() local
2293 pdo_stmt_t *stmt = row->stmt; in row_dim_read() local
2344 pdo_stmt_t *stmt = row->stmt; in row_prop_exists() local
2374 pdo_stmt_t *stmt = row->stmt; in row_dim_exists() local
[all …]
/PHP-8.1/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.1/ext/mysqli/
H A Dmysqli_api.c345 MYSQLI_REPORT_STMT_ERROR(stmt->stmt); in PHP_FUNCTION()
379 col_type = (stmt->stmt->fields) ? stmt->stmt->fields[ofs].type : MYSQL_TYPE_STRING; in mysqli_stmt_bind_result_do_bind()
477 …(stmt->stmt->fields) ? (stmt->stmt->fields[ofs].length) ? stmt->stmt->fields[ofs].length + 1: 256:… in mysqli_stmt_bind_result_do_bind()
502 MYSQLI_REPORT_STMT_ERROR(stmt->stmt); in mysqli_stmt_bind_result_do_bind()
955 ret = mysql_stmt_fetch(stmt->stmt);
1853 stmt->stmt = NULL;
1876 if (!stmt->stmt) {
2040 stmt->stmt = NULL;
2096 mysql_stmt_free_result(stmt->stmt);
2143 if (mysql_stmt_reset(stmt->stmt)) {
[all …]
/PHP-8.1/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.1/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.1/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 72 milliseconds

12345678910>>...21