Home
last modified time | relevance | path

Searched refs:affected_rows (Results 1 – 20 of 20) sorted by relevance

/PHP-8.2/ext/mysqli/tests/
H A Dmysqli_affected_rows_oo.phpt2 mysqli->affected_rows
15 $mysqli->affected_rows;
25 if (0 !== ($tmp = $mysqli->affected_rows))
37 if (1 !== ($tmp = $mysqli->affected_rows))
42 if (-1 !== ($tmp = $mysqli->affected_rows))
48 if (2 !== ($tmp = $mysqli->affected_rows))
54 if (2 !== ($tmp = $mysqli->affected_rows))
61 if (1 !== ($tmp = $mysqli->affected_rows))
67 if (4 !== ($tmp = $mysqli->affected_rows))
73 if (2 !== ($tmp = $mysqli->affected_rows))
[all …]
H A Dmysqli_class_mysqli_stmt_interface.phpt89 $stmt->affected_rows;
98 assert(mysqli_stmt_affected_rows($stmt) === $stmt->affected_rows);
99 printf("stmt->affected_rows = '%s'\n", $stmt->affected_rows);
143 affected_rows
159 stmt->affected_rows = '1'
H A D057.phpt39 if ($stmt->affected_rows !== 0)
40 printf("[001] Expecting 0, got %d\n", $stmt->affected_rows);
80 ["affected_rows"]=>
H A Dmysqli_execute_query.phpt52 if ($link->affected_rows <= 0) {
53 …cting positive non-zero integer for affected_rows, got %s/%s\n", gettype($link->affected_rows), $l…
H A Dmysqli_class_mysqli_interface.phpt95 "affected_rows" => true,
157 assert(mysqli_affected_rows($link) === $mysqli->affected_rows);
158 printf("mysqli->affected_rows = '%s'/%s ('%s'/%s)\n",
159 $mysqli->affected_rows, gettype($mysqli->affected_rows),
275 mysqli->affected_rows = '%s'/integer ('%s'/integer)
H A Dbug34810.phpt65 ["affected_rows"]=>
H A Dfake_server.inc177 $packet->affected_rows = "00";
248 $qr1->affected_rows = "00";
249 $qr1->affected_rows = "00";
406 $pr4->affected_rows = '00';
501 $pr5->affected_rows = '00';
H A Dmysqli_kill.phpt81 ["affected_rows"]=>
H A Dmysqli_affected_rows.phpt33 // ignore INSERT error, NOTE: command line returns 0, affected_rows returns -1 as documented
H A Dmysqli_class_mysqli_properties_no_conn.phpt44 $mysqli->affected_rows;
/PHP-8.2/ext/mysqlnd/
H A Dmysqlnd_connection.h36 #define UPSERT_STATUS_GET_AFFECTED_ROWS(status) (status)->affected_rows
37 #define UPSERT_STATUS_SET_AFFECTED_ROWS(status, rows) (status)->affected_rows = (rows)
H A Dmysqlnd_wireprotocol.h104 uint64_t affected_rows; member
134 uint64_t affected_rows; member
185 uint64_t affected_rows; member
H A Dmysqlnd_wireprotocol.c731 packet->affected_rows = php_mysqlnd_net_field_length_ll(&p); in php_mysqlnd_auth_response_read()
762 packet->affected_rows, packet->last_insert_id, packet->server_status, in php_mysqlnd_auth_response_read()
878 packet->affected_rows = php_mysqlnd_net_field_length_ll(&p); in php_mysqlnd_ok_read()
902 packet->affected_rows, packet->last_insert_id, packet->server_status, in php_mysqlnd_ok_read()
1123 packet->affected_rows = php_mysqlnd_net_field_length_ll(&p); in php_mysqlnd_rset_header_read()
1155 packet->affected_rows, packet->last_insert_id, in php_mysqlnd_rset_header_read()
2571 UPSERT_STATUS_SET_AFFECTED_ROWS(upsert_status, ok_response.affected_rows); in MYSQLND_METHOD()
H A Dmysqlnd_connection.c49 upsert_status->affected_rows = 0; in MYSQLND_METHOD()
59 upsert_status->affected_rows = (uint64_t) ~0; in MYSQLND_METHOD()
1185 MYSQLND_METHOD(mysqlnd_conn_data, affected_rows)(const MYSQLND_CONN_DATA * const conn) argument
1984 MYSQLND_METHOD(mysqlnd_conn_data, affected_rows),
H A Dmysqlnd_ps.c1370 MYSQLND_METHOD(mysqlnd_stmt, affected_rows)(const MYSQLND_STMT * const s) in MYSQLND_METHOD() argument
1955 MYSQLND_METHOD(mysqlnd_stmt, affected_rows),
H A Dmysqlnd_result.c237 UPSERT_STATUS_SET_AFFECTED_ROWS(conn->upsert_status, rset_header.affected_rows); in mysqlnd_query_read_result_set_header()
H A Dmysqlnd_structs.h119 uint64_t affected_rows; member
/PHP-8.2/ext/pdo_firebird/
H A Dfirebird_statement.c117 zend_ulong affected_rows = 0; in firebird_stmt_execute() local
152 stmt->row_count = affected_rows; in firebird_stmt_execute()
174 affected_rows += isc_vax_integer(&result[i + 3], len); in firebird_stmt_execute()
178 stmt->row_count = affected_rows; in firebird_stmt_execute()
/PHP-8.2/ext/mysqli/
H A Dmysqli.stub.php639 public int|string $affected_rows; variable in mysqli
1164 public int|string $affected_rows;
H A Dmysqli_api.c488 uint64_t affected_rows = mysql->mysql->data->upsert_status->affected_rows; in close_stmt_and_copy_errors() local
497 mysql->mysql->data->upsert_status->affected_rows = affected_rows; in close_stmt_and_copy_errors()

Completed in 49 milliseconds