Home
last modified time | relevance | path

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

/PHP-5.3/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);
143 affected_rows
154 affected_rows
172 stmt->affected_rows = ''
173 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),
152 affected_rows = 'NULL'
172 affected_rows = 'NULL'
192 mysqli->affected_rows = ''/NULL (''/NULL)
224 affected_rows = 'NULL'
244 affected_rows = 'NULL'
264 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"]=>
104 [%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 ["affected_rows"]=>
H A Dmysqli_class_mysqli_reflection.phpt1092 Inspecting property 'affected_rows'
1235 Default property 'affected_rows'
/PHP-5.3/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.h111 uint64_t affected_rows; member
163 uint64_t affected_rows; member
H A Dmysqlnd_priv.h105 #define SET_ERROR_AFF_ROWS(s) (s)->upsert_status.affected_rows = (uint64_t) ~0
H A Dmysqlnd.c274 conn->upsert_status.affected_rows = ok_response->affected_rows; in MYSQLND_METHOD()
791 conn->upsert_status.affected_rows = 0; in MYSQLND_METHOD()
1052 if (conn->last_query_type == QUERY_UPSERT && conn->upsert_status.affected_rows) { in MYSQLND_METHOD()
1053 …_CONN_STATISTIC_W_VALUE(conn->stats, STAT_ROWS_AFFECTED_NORMAL, conn->upsert_status.affected_rows); in MYSQLND_METHOD()
1808 MYSQLND_METHOD(mysqlnd_conn, affected_rows)(const MYSQLND * const conn TSRMLS_DC) in MYSQLND_METHOD() argument
1810 return conn->upsert_status.affected_rows; in MYSQLND_METHOD()
1959 if (ret == PASS && conn->last_query_type == QUERY_UPSERT && conn->upsert_status.affected_rows) { in MYSQLND_METHOD()
1960 …_CONN_STATISTIC_W_VALUE(conn->stats, STAT_ROWS_AFFECTED_NORMAL, conn->upsert_status.affected_rows); in MYSQLND_METHOD()
2313 MYSQLND_METHOD(mysqlnd_conn, affected_rows),
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()
489 stmt->upsert_status.affected_rows = conn->upsert_status.affected_rows; in mysqlnd_stmt_execute_parse_response()
719 if (ret == PASS && conn->last_query_type == QUERY_UPSERT && stmt->upsert_status.affected_rows) { in MYSQLND_METHOD()
720 …_INC_CONN_STATISTIC_W_VALUE(conn->stats, STAT_ROWS_AFFECTED_PS, stmt->upsert_status.affected_rows); in MYSQLND_METHOD()
1664 MYSQLND_METHOD(mysqlnd_stmt, affected_rows)(const MYSQLND_STMT * const s TSRMLS_DC) in MYSQLND_METHOD() argument
1667 return stmt? stmt->upsert_status.affected_rows : 0; in MYSQLND_METHOD()
2326 MYSQLND_METHOD(mysqlnd_stmt, affected_rows),
H A Dmysqlnd_result.c445 conn->upsert_status.affected_rows = rset_header->affected_rows; in mysqlnd_query_read_result_set_header()
1269 conn->upsert_status.affected_rows = set->row_count; in MYSQLND_METHOD()
1318 conn->upsert_status.affected_rows = result->stored_data->row_count; in MYSQLND_METHOD()
H A Dmysqlnd_wireprotocol.c552 packet->affected_rows = php_mysqlnd_net_field_length_ll(&p); in php_mysqlnd_ok_read()
576 packet->affected_rows, packet->last_insert_id, packet->server_status, in php_mysqlnd_ok_read()
818 packet->affected_rows = php_mysqlnd_net_field_length_ll(&p); in php_mysqlnd_rset_header_read()
844 packet->affected_rows, packet->last_insert_id, in php_mysqlnd_rset_header_read()
H A Dmysqlnd_structs.h95 uint64_t affected_rows; member
/PHP-5.3/ext/sybase_ct/
H A Dphp_sybase_ct.h86 long affected_rows; member
H A Dphp_sybase_ct.c1492 sybase_ptr->affected_rows = 0; in php_sybase_query()
1537 sybase_ptr->affected_rows = (long)row_count; in php_sybase_query()
2118 Z_LVAL_P(return_value) = sybase_ptr->affected_rows; in PHP_FUNCTION()
/PHP-5.3/ext/interbase/
H A Dphp_ibase_includes.h83 unsigned long affected_rows; member
H A Dibase_query.c900 trans->affected_rows = 0; in _php_ibase_exec()
990 ib_query->trans->affected_rows = 0; in _php_ibase_exec()
994 unsigned long affected_rows; in _php_ibase_exec() local
1007 affected_rows = 0; in _php_ibase_exec()
1015 affected_rows += isc_vax_integer(&result[i+3],len); in _php_ibase_exec()
1021 ib_query->trans->affected_rows = affected_rows; in _php_ibase_exec()
1024 if (affected_rows) { in _php_ibase_exec()
1025 RETVAL_LONG(affected_rows); in _php_ibase_exec()
1233 RETURN_LONG(trans->affected_rows); in PHP_FUNCTION()
H A Dinterbase.c1252 ib_trans->affected_rows = 0; in PHP_FUNCTION()
1296 tr->affected_rows = 0; in _php_ibase_def_trans()
/PHP-5.3/ext/pdo_firebird/
H A Dfirebird_statement.c93 unsigned long affected_rows = 0; in firebird_stmt_execute() local
112 stmt->row_count = affected_rows; in firebird_stmt_execute()
128 affected_rows += isc_vax_integer(&result[i + 3], len); in firebird_stmt_execute()
132 stmt->row_count = affected_rows; in firebird_stmt_execute()
/PHP-5.3/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 93 milliseconds