mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-18973 CLIENT_FOUND_ROWS wrong in spider
Get count from last_used_con->info Contributed by willhan at Tencent Games
This commit is contained in:
@ -6812,14 +6812,14 @@ int handler::ha_delete_row(const uchar *buf)
|
||||
@retval != 0 Failure.
|
||||
*/
|
||||
|
||||
int handler::ha_direct_update_rows(ha_rows *update_rows)
|
||||
int handler::ha_direct_update_rows(ha_rows *update_rows, ha_rows *found_rows)
|
||||
{
|
||||
int error;
|
||||
|
||||
MYSQL_UPDATE_ROW_START(table_share->db.str, table_share->table_name.str);
|
||||
mark_trx_read_write();
|
||||
|
||||
error = direct_update_rows(update_rows);
|
||||
error = direct_update_rows(update_rows, found_rows);
|
||||
MYSQL_UPDATE_ROW_DONE(error);
|
||||
return error;
|
||||
}
|
||||
|
Reference in New Issue
Block a user