summaryrefslogtreecommitdiff
path: root/dml_handler.diff
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2021-04-18 22:58:34 +0300
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2021-04-21 14:09:17 +0300
commitaeccdddedd5d3d306dd317e6b366d50bc807726b (patch)
tree2bbd7733374407baad2c7b4547d5d0b87ccca247 /dml_handler.diff
parent44a6af65f56ccbcb9a7ca6ba1d021a2b23c07666 (diff)
downloadmariadb-git-aeccdddedd5d3d306dd317e6b366d50bc807726b.tar.gz
MDEV-25441 WITH TIES is not respected with SQL_BUFFER_RESULT and constant in ORDER BY
Pushing LIMIT to temp aggregation table is possible, but not when WITH TIES is used. In a degenerate case with constant ORDER BY, the constant gets removed and the code assumed the limit is push-able. Ensure that if WITH TIES is present, that this does not happen.
Diffstat (limited to 'dml_handler.diff')
0 files changed, 0 insertions, 0 deletions