-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug #30473261: CONVERT THE INDEX SUBQUERY ENGINES INTO USING THE ITER…
…ATOR EXECUTOR [patch 6/10, ha_records] Don't call ha_records() if we just want to know whether the materialized table is empty or not. ha_records() will count all records, which can be fairly expensive and potentially fire up multiple threads etc.. Instead, start a simple scan, see whether we can read out at least one row, and then end. Change-Id: If5f20ba8a6478a928a150691154b5d103a7eb079
- Loading branch information
Steinar H. Gunderson
committed
Dec 20, 2019
1 parent
0b45e96
commit 6226c1a
Showing
2 changed files
with
18 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters