summaryrefslogtreecommitdiff
path: root/sql/item_windowfunc.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2019-08-07 21:01:22 +0400
committerAlexander Barkov <bar@mariadb.com>2019-08-07 21:01:22 +0400
commitd70dac207930ab74add149be692a775bc2952aaa (patch)
treea6642a2e788be0cc2a3edada3b376efb986ba21d /sql/item_windowfunc.h
parente978efd96b9a8146ba2c80a1f3aea755568ac73a (diff)
downloadmariadb-git-d70dac207930ab74add149be692a775bc2952aaa.tar.gz
MDEV-20278 PERCENTILE_DISC() returns a wrong data type
Diffstat (limited to 'sql/item_windowfunc.h')
-rw-r--r--sql/item_windowfunc.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/sql/item_windowfunc.h b/sql/item_windowfunc.h
index 37376501d1f..1432643dfc8 100644
--- a/sql/item_windowfunc.h
+++ b/sql/item_windowfunc.h
@@ -1097,17 +1097,6 @@ public:
}
}
- void setting_handler_for_percentile_functions(Item_result rtype) const
- {
- switch (window_func()->sum_func()){
- case Item_sum::PERCENTILE_DISC_FUNC:
- ((Item_sum_percentile_disc* ) window_func())->set_handler_by_cmp_type(rtype);
- break;
- default:
- return;
- }
- }
-
bool check_result_type_of_order_item();