diff options
author | Varun Gupta <varun.gupta@mariadb.com> | 2020-07-01 11:39:22 +0530 |
---|---|---|
committer | Varun Gupta <varun.gupta@mariadb.com> | 2020-07-01 11:39:22 +0530 |
commit | fbfb5b5f68a428ec819bc09d14b30cebf660b37b (patch) | |
tree | 2f9ea6c946038506544db7fb7f399902867d9889 /sql-bench/run-all-tests.sh | |
parent | 4a2e7b5368b2c78c5965b74727727053c67b406d (diff) | |
download | mariadb-git-fbfb5b5f68a428ec819bc09d14b30cebf660b37b.tar.gz |
MDEV-22852: SIGSEGV in sortlength (optimized builds)
The issue here is for a DEPENDENT subquery that has an aggregate function in the ORDER BY clause,
is wrapped inside an Item_aggregate_ref. For computation of ORDER BY we need to refer to the
temp table field corresponding to this item. But in the function make_sortorder, we were
explicitly casting Item_aggrgate_ref to Item_sum, which leads to us not getting the temp
table field corresponding to the item.
Diffstat (limited to 'sql-bench/run-all-tests.sh')
0 files changed, 0 insertions, 0 deletions