Home
last modified time | relevance | path

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

/PHP-5.4/ext/mysqli/tests/
H A Dmysqli_affected_rows_oo.phpt2 mysqli->affected_rows
14 if (NULL !== ($tmp = @$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.phpt84 assert(mysqli_stmt_affected_rows($stmt) === $stmt->affected_rows);
85 printf("stmt->affected_rows = '%s'\n", $stmt->affected_rows);
91 assert(mysqli_stmt_affected_rows($stmt) === $stmt->affected_rows);
92 printf("stmt->affected_rows = '%s'\n", $stmt->affected_rows);
146 affected_rows
158 affected_rows
177 stmt->affected_rows = ''
178 stmt->affected_rows = '1'
H A Dmysqli_class_mysqli_properties_no_conn.phpt30 assert(@mysqli_affected_rows($mysqli) === @$mysqli->affected_rows);
31 printf("mysqli->affected_rows = '%s'/%s ('%s'/%s)\n",
32 @$mysqli->affected_rows, gettype(@$mysqli->affected_rows),
147 affected_rows = 'NULL'
168 affected_rows = 'NULL'
189 mysqli->affected_rows = ''/NULL (''/NULL)
220 affected_rows = 'NULL'
241 affected_rows = 'NULL'
262 mysqli->affected_rows = ''/NULL (''/NULL)
H A D057.phpt38 if ($IS_MYSQLND && $stmt->affected_rows !== -1)
39 printf("[001] Expecting -1, got %d\n", $stmt->affected_rows);
80 [%u|b%"affected_rows"]=>
H A Dmysqli_class_mysqli_interface.phpt104 "affected_rows" => true,
169 assert(mysqli_affected_rows($link) === $mysqli->affected_rows);
170 printf("mysqli->affected_rows = '%s'/%s ('%s'/%s)\n",
171 $mysqli->affected_rows, gettype($mysqli->affected_rows),
294 mysqli->affected_rows = '%s'/integer ('%s'/integer)
H A Dbug34810.phpt66 [%u|b%"affected_rows"]=>
107 [%u|b%"affected_rows"]=>
H A Dmysqli_kill.phpt88 [%u|b%"affected_rows"]=>
H A Dmysqli_affected_rows.phpt45 // ignore INSERT error, NOTE: command line returns 0, affected_rows returns -1 as documented
H A Dmysqli_real_connect.phpt180 [%u|b%"affected_rows"]=>
H A Dmysqli_class_mysqli_reflection.phpt1076 Inspecting property 'affected_rows'
1227 Default property 'affected_rows'
/PHP-5.4/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.h113 uint64_t affected_rows; member
143 uint64_t affected_rows; member
195 uint64_t affected_rows; member
H A Dmysqlnd_ps.c109 stmt->upsert_status->affected_rows = stmt->result->stored_data->row_count; in MYSQLND_METHOD()
176 stmt->upsert_status->affected_rows = result->stored_data->row_count; in MYSQLND_METHOD()
490 stmt->upsert_status->affected_rows = conn->upsert_status->affected_rows; in mysqlnd_stmt_execute_parse_response()
702 if (ret == PASS && conn->last_query_type == QUERY_UPSERT && stmt->upsert_status->affected_rows) { in MYSQLND_METHOD()
703 …INC_CONN_STATISTIC_W_VALUE(conn->stats, STAT_ROWS_AFFECTED_PS, stmt->upsert_status->affected_rows); in MYSQLND_METHOD()
1660 MYSQLND_METHOD(mysqlnd_stmt, affected_rows)(const MYSQLND_STMT * const s TSRMLS_DC) in MYSQLND_METHOD() argument
1663 return stmt? stmt->upsert_status->affected_rows : 0; in MYSQLND_METHOD()
2339 MYSQLND_METHOD(mysqlnd_stmt, affected_rows),
H A Dmysqlnd.c257 conn->upsert_status->affected_rows = ok_response->affected_rows; in MYSQLND_METHOD()
907 conn->upsert_status->affected_rows = 0;
1062 if (conn->last_query_type == QUERY_UPSERT && conn->upsert_status->affected_rows) {
1063 …CONN_STATISTIC_W_VALUE(conn->stats, STAT_ROWS_AFFECTED_NORMAL, conn->upsert_status->affected_rows);
1891 MYSQLND_METHOD(mysqlnd_conn_data, affected_rows)(const MYSQLND_CONN_DATA * const conn TSRMLS_DC) argument
1893 return conn->upsert_status->affected_rows;
2045 if (conn->last_query_type == QUERY_UPSERT && conn->upsert_status->affected_rows) {
2046 …CONN_STATISTIC_W_VALUE(conn->stats, STAT_ROWS_AFFECTED_NORMAL, conn->upsert_status->affected_rows);
2660 MYSQLND_METHOD(mysqlnd_conn_data, affected_rows),
H A Dmysqlnd_priv.h102 #define SET_ERROR_AFF_ROWS(s) (s)->upsert_status->affected_rows = (uint64_t) ~0
H A Dmysqlnd_wireprotocol.c631 packet->affected_rows = php_mysqlnd_net_field_length_ll(&p); in php_mysqlnd_auth_response_read()
655 packet->affected_rows, packet->last_insert_id, packet->server_status, in php_mysqlnd_auth_response_read()
771 packet->affected_rows = php_mysqlnd_net_field_length_ll(&p); in php_mysqlnd_ok_read()
795 packet->affected_rows, packet->last_insert_id, packet->server_status, in php_mysqlnd_ok_read()
1040 packet->affected_rows = php_mysqlnd_net_field_length_ll(&p); in php_mysqlnd_rset_header_read()
1066 packet->affected_rows, packet->last_insert_id, in php_mysqlnd_rset_header_read()
H A Dmysqlnd_result.c433 conn->upsert_status->affected_rows = rset_header->affected_rows; in mysqlnd_query_read_result_set_header()
1241 conn->upsert_status->affected_rows = set->row_count; in MYSQLND_METHOD()
1291 conn->upsert_status->affected_rows = result->stored_data->row_count; in MYSQLND_METHOD()
H A Dmysqlnd_structs.h101 uint64_t affected_rows; member
/PHP-5.4/ext/sybase_ct/
H A Dphp_sybase_ct.h86 long affected_rows; member
H A Dphp_sybase_ct.c1491 sybase_ptr->affected_rows = 0; in php_sybase_query()
1536 sybase_ptr->affected_rows = (long)row_count; in php_sybase_query()
2113 Z_LVAL_P(return_value) = sybase_ptr->affected_rows; in PHP_FUNCTION()
/PHP-5.4/ext/interbase/
H A Dibase_query.c898 trans->affected_rows = 0; in _php_ibase_exec()
988 ib_query->trans->affected_rows = 0; in _php_ibase_exec()
992 unsigned long affected_rows; in _php_ibase_exec() local
1005 affected_rows = 0; in _php_ibase_exec()
1013 affected_rows += isc_vax_integer(&result[i+3],len); in _php_ibase_exec()
1019 ib_query->trans->affected_rows = affected_rows; in _php_ibase_exec()
1022 if (affected_rows) { in _php_ibase_exec()
1023 RETVAL_LONG(affected_rows); in _php_ibase_exec()
1231 RETURN_LONG(trans->affected_rows); in PHP_FUNCTION()
H A Dphp_ibase_includes.h81 unsigned long affected_rows; member
H A Dinterbase.c1250 ib_trans->affected_rows = 0; in PHP_FUNCTION()
1294 tr->affected_rows = 0; in _php_ibase_def_trans()
/PHP-5.4/ext/pdo_firebird/
H A Dfirebird_statement.c91 unsigned long affected_rows = 0; in firebird_stmt_execute() local
110 stmt->row_count = affected_rows; in firebird_stmt_execute()
126 affected_rows += isc_vax_integer(&result[i + 3], len); in firebird_stmt_execute()
130 stmt->row_count = affected_rows; in firebird_stmt_execute()
/PHP-5.4/ext/mysql/tests/
H A Dmysql_affected_rows.phpt45 // ignore INSERT error, NOTE: command line returns 0, affected_rows returns -1 as documented

Completed in 78 milliseconds