summaryrefslogtreecommitdiff
path: root/Docs/INSTALL-BINARY
diff options
context:
space:
mode:
authorAlexey Kopytov <Alexey.Kopytov@Sun.com>2009-11-06 09:44:01 +0300
committerAlexey Kopytov <Alexey.Kopytov@Sun.com>2009-11-06 09:44:01 +0300
commit9fff9acf0c894a093c3dd395af0c20b83cd80cd9 (patch)
treedeebaa6d3b8c53f993b541d23de94fc1a893f385 /Docs/INSTALL-BINARY
parent377c1dc5843e8cbee0876e86753281e1fa815eca (diff)
downloadmariadb-git-9fff9acf0c894a093c3dd395af0c20b83cd80cd9.tar.gz
Bug #48475: DISTINCT is ignored with GROUP BY WITH ROLLUP and
only const tables The problem was caused by two shortcuts in the optimizer that are inapplicable in the ROLLUP case. Normally in a case when only const tables are involved in a query, DISTINCT clause can be safely optimized away since there may be only one row produced by the join. Similarly, we don't need to create a temporary table to resolve DISTINCT/GROUP BY/ORDER BY. Both of these are inapplicable when the WITH ROLLUP modifier is present. Fixed by disabling the said optimizations for the WITH ROLLUP case.
Diffstat (limited to 'Docs/INSTALL-BINARY')
0 files changed, 0 insertions, 0 deletions