diff options
author | gkodinov/kgeorge@magare.gmz <> | 2007-04-20 10:49:45 +0300 |
---|---|---|
committer | gkodinov/kgeorge@magare.gmz <> | 2007-04-20 10:49:45 +0300 |
commit | 4c89a5960fbd73c684b9f8d3a07ee8d78436b732 (patch) | |
tree | f2618b562d1def306f97b055790d0a9b303eb66f /include/heap.h | |
parent | 6ad81b4e1325e727e9d218b1783f5891f7ff0405 (diff) | |
download | mariadb-git-4c89a5960fbd73c684b9f8d3a07ee8d78436b732.tar.gz |
Bug #27786:
When merging views into the enclosing statement
the ORDER BY clause of the view is merged to the
parent's ORDER BY clause.
However when the VIEW is merged into an UNION
branch the ORDER BY should be ignored.
Use of ORDER BY for individual SELECT statements
implies nothing about the order in which the rows
appear in the final result because UNION by default
produces unordered set of rows.
Fixed by ignoring the ORDER BY clause from the merge
view when expanded in an UNION branch.
Diffstat (limited to 'include/heap.h')
0 files changed, 0 insertions, 0 deletions