Home
last modified time | relevance | path

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

/php-src/ext/mysqli/tests/
H A Dmysqli_affected_rows_oo.phpt2 mysqli->affected_rows
15 $mysqli->affected_rows;
22 if (0 !== ($tmp = $mysqli->affected_rows))
34 if (1 !== ($tmp = $mysqli->affected_rows))
39 if (-1 !== ($tmp = $mysqli->affected_rows))
45 if (2 !== ($tmp = $mysqli->affected_rows))
51 if (2 !== ($tmp = $mysqli->affected_rows))
58 if (1 !== ($tmp = $mysqli->affected_rows))
64 if (4 !== ($tmp = $mysqli->affected_rows))
70 if (2 !== ($tmp = $mysqli->affected_rows))
[all …]
H A Dmysqli_class_mysqli_stmt_interface.phpt88 $stmt->affected_rows;
97 assert(mysqli_stmt_affected_rows($stmt) === $stmt->affected_rows);
98 printf("stmt->affected_rows = '%s'\n", $stmt->affected_rows);
142 affected_rows
158 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-src/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.c722 packet->affected_rows = php_mysqlnd_net_field_length_ll(&p); in php_mysqlnd_auth_response_read()
753 packet->affected_rows, packet->last_insert_id, packet->server_status, in php_mysqlnd_auth_response_read()
865 packet->affected_rows = php_mysqlnd_net_field_length_ll(&p); in php_mysqlnd_ok_read()
889 packet->affected_rows, packet->last_insert_id, packet->server_status, in php_mysqlnd_ok_read()
1110 packet->affected_rows = php_mysqlnd_net_field_length_ll(&p); in php_mysqlnd_rset_header_read()
1142 packet->affected_rows, packet->last_insert_id, in php_mysqlnd_rset_header_read()
2560 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()
1174 MYSQLND_METHOD(mysqlnd_conn_data, affected_rows)(const MYSQLND_CONN_DATA * const conn) argument
1950 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
1939 MYSQLND_METHOD(mysqlnd_stmt, affected_rows),
H A Dmysqlnd_result.c235 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-src/ext/pdo_firebird/
H A Dfirebird_statement.c188 zend_ulong affected_rows = 0; in pdo_firebird_stmt_execute() local
223 stmt->row_count = affected_rows; in pdo_firebird_stmt_execute()
245 affected_rows += isc_vax_integer(&result[i + 3], len); in pdo_firebird_stmt_execute()
249 stmt->row_count = affected_rows; in pdo_firebird_stmt_execute()
/php-src/ext/mysqli/
H A Dmysqli.stub.php618 public int|string $affected_rows; variable in mysqli
1144 public int|string $affected_rows;
H A Dmysqli_api.c475 uint64_t affected_rows = mysql->mysql->data->upsert_status->affected_rows; in close_stmt_and_copy_errors() local
484 mysql->mysql->data->upsert_status->affected_rows = affected_rows; in close_stmt_and_copy_errors()

Completed in 59 milliseconds