Vadim B. Mikheev
fa2629b7ea
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 ?
1997-04-09 01:52:04 +00:00
..
1997-04-09 01:52:04 +00:00
1997-04-04 10:43:16 +00:00
1997-04-05 06:19:22 +00:00
1997-04-04 10:43:16 +00:00
1997-04-02 18:36:24 +00:00
1997-04-01 09:27:11 +00:00
1997-04-06 04:43:28 +00:00
1997-04-08 19:34:58 +00:00
1996-11-12 11:43:32 +00:00
1997-01-05 21:20:34 +00:00
1997-02-14 04:19:07 +00:00
1996-12-13 02:39:00 +00:00
1997-04-06 04:43:28 +00:00
1997-02-04 08:53:45 +00:00
1997-03-25 07:16:36 +00:00
1997-04-04 11:23:15 +00:00
1997-04-04 11:23:15 +00:00
1997-02-28 18:45:17 +00:00
1997-02-04 08:53:45 +00:00
1996-10-08 04:09:50 +00:00
1996-11-07 05:15:31 +00:00
1996-10-05 21:16:34 +00:00
1997-04-04 09:01:19 +00:00
1997-04-04 11:23:15 +00:00
1997-04-03 19:56:47 +00:00
1997-04-03 19:56:47 +00:00