1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fix MDEV-30820 problem found by Monty

This commit is contained in:
Oleksandr Byelkin
2023-11-01 11:56:24 +01:00
parent d5aff2d551
commit df93b4f259
4 changed files with 18 additions and 8 deletions

View File

@ -5682,8 +5682,6 @@ void THD::set_examined_row_count(ha_rows count)
void THD::inc_sent_row_count(ha_rows count)
{
m_sent_row_count+= count;
DBUG_EXECUTE_IF("debug_huge_number_of_examined_rows",
m_examined_row_count= (ULONGLONG_MAX - 1000000););
MYSQL_SET_STATEMENT_ROWS_SENT(m_statement_psi, m_sent_row_count);
}