summaryrefslogtreecommitdiff
path: root/dbug/CMakeLists.txt
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2019-02-06 02:38:47 +0300
committerSergei Petrunia <psergey@askmonty.org>2019-02-06 02:39:25 +0300
commite09d8f66e26895eecc2ef77ca9ebbcff13fc6741 (patch)
tree968e2815625412d45b51dc5105f396c120e8a32d /dbug/CMakeLists.txt
parentb3860a86216de794532e35c308346ea7124dc07c (diff)
downloadmariadb-git-e09d8f66e26895eecc2ef77ca9ebbcff13fc6741.tar.gz
Make sure MyRocks tables do not have stats.records=0 as that confuses the optimizer.
They generally don't have stats.records=0, the the statistics are computed based on GetApproximateSizes and GetApproximateMemTableStats. Still, when there's nothing on disk and only a few records are in the MemTable, it is possible that both calls will return 0, and the optimizer will see stats.records=0, which may cause "impossible range" condition (even if records_in_range() returned a non-zero value)
Diffstat (limited to 'dbug/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions