Skip to content
Snippets Groups Projects
Commit fa2629b7 authored by Vadim B. Mikheev's avatar Vadim B. Mikheev
Browse files

Fix (hack) IndexSelectivity():

use sum(npages)/((nkeys == 1) ? 1 : nkeys + 1) as expected index page
estimation for multi-key quals - instead of sum(npages).
In old code npages for x > 10 and x < 20 is twice as for x > 10 - cool ?
parent b30aa6ec
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment