summaryrefslogtreecommitdiff
path: root/sql/sql_window.cc
diff options
context:
space:
mode:
authorVarun Gupta <varunraiko1803@gmail.com>2017-07-07 17:37:06 +0530
committerVarun Gupta <varunraiko1803@gmail.com>2017-11-01 23:13:01 +0530
commit275ce39f05c364ca25bb7ecaa6a0bb02df83bdc4 (patch)
tree7104e513b33792c46a5a822dbfa8cdeea1c78d89 /sql/sql_window.cc
parent01d2b6e9d94b26ae0df8e900958f91f0c23f203e (diff)
downloadmariadb-git-275ce39f05c364ca25bb7ecaa6a0bb02df83bdc4.tar.gz
Percentile class implemented, most of the functions have the same functionalite as the percentile cont class
Diffstat (limited to 'sql/sql_window.cc')
-rw-r--r--sql/sql_window.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_window.cc b/sql/sql_window.cc
index bb7742b029a..d1628c46e2a 100644
--- a/sql/sql_window.cc
+++ b/sql/sql_window.cc
@@ -2540,6 +2540,7 @@ void add_special_frame_cursors(THD *thd, Cursor_manager *cursor_manager,
cursor_manager->add_cursor(fc);
break;
}
+ case Item_sum::PERCENTILE_CONT_FUNC:
case Item_sum::PERCENTILE_DISC_FUNC:
{
fc= new Frame_unbounded_preceding(thd,