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

@ -3013,7 +3013,11 @@ public:
{ return m_sent_row_count; }
ha_rows get_examined_row_count() const
{ return m_examined_row_count; }
{
DBUG_EXECUTE_IF("debug_huge_number_of_examined_rows",
return (ULONGLONG_MAX - 1000000););
return m_examined_row_count;
}
ulonglong get_affected_rows() const
{ return affected_rows; }