diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2020-06-10 09:34:56 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2020-06-10 09:34:56 +0200 |
commit | 61862d711deadc9feadc91633104a78c1977bc5e (patch) | |
tree | 2ba5906104eaa1e18d152ee0eda2655d9616b1e9 /sql/sql_select.cc | |
parent | 443391236d20cd0303fcc9957eb49a6aaf28316e (diff) | |
download | mariadb-git-61862d711deadc9feadc91633104a78c1977bc5e.tar.gz |
Revert "MDEV-22830: SQL_CALC_FOUND_ROWS not working properly for single SELECT for DUAL"
This reverts commit 443391236d20cd0303fcc9957eb49a6aaf28316e.
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r-- | sql/sql_select.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index a9c12136497..647dee80188 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -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 |