mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Revert "MDEV-22830: SQL_CALC_FOUND_ROWS not working properly for single SELECT for DUAL"
This reverts commit 443391236d
.
This commit is contained in:
@ -2647,7 +2647,7 @@ void JOIN::exec_inner()
|
||||
thd->get_sent_row_count());
|
||||
}
|
||||
else
|
||||
send_records= (select_options & OPTION_FOUND_ROWS) ? 1 : 0;
|
||||
send_records= 0;
|
||||
if (!error)
|
||||
{
|
||||
join_free(); // Unlock all cursors
|
||||
|
Reference in New Issue
Block a user