summaryrefslogtreecommitdiff
path: root/pstack/budbg.h
diff options
context:
space:
mode:
authorMattias Jonsson <mattias.jonsson@sun.com>2010-03-04 12:09:09 +0100
committerMattias Jonsson <mattias.jonsson@sun.com>2010-03-04 12:09:09 +0100
commite46d120e8ef7de8660d10a96f8cfee47e8836b53 (patch)
tree192b9147cfa1de054d482806c80fa69dd6b55e62 /pstack/budbg.h
parentae3e094191d2d48c5468a6fd8e09a54e687cb3e8 (diff)
downloadmariadb-git-e46d120e8ef7de8660d10a96f8cfee47e8836b53.tar.gz
Bug#48229: group by performance issue of partitioned table
Problem was block_size on partitioned tables was not set, resulting in keys_per_block was not correct which affects the cost calculation for read time of indexes (including cost for group min/max).Which resulted in a bad optimizer decision. Fixed by setting stats.block_size correctly. mysql-test/r/partition_range.result: Bug#48229: group by performance issue of partitioned table Added result mysql-test/t/partition_range.test: Bug#48229: group by performance issue of partitioned table Added test sql/ha_partition.cc: Bug#48229: group by performance issue of partitioned table Added missing assignment of stats.block_size.
Diffstat (limited to 'pstack/budbg.h')
0 files changed, 0 insertions, 0 deletions