summaryrefslogtreecommitdiff
path: root/sql/sql_window.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_window.h')
-rw-r--r--sql/sql_window.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/sql_window.h b/sql/sql_window.h
index 3e91dad7b09..b300c13136f 100644
--- a/sql/sql_window.h
+++ b/sql/sql_window.h
@@ -2,6 +2,9 @@
#ifndef SQL_WINDOW_INCLUDED
#define SQL_WINDOW_INCLUDED
+#include "my_global.h"
+#include "item.h"
+
class Window_frame_bound : public Sql_alloc
{
@@ -92,4 +95,8 @@ class Window_def : public Window_spec
};
+int setup_windows(THD *thd, Item **ref_pointer_array, TABLE_LIST *tables,
+ List<Item> &fields, List<Item> &all_fields,
+ List<Window_spec> win_specs);
+
#endif /* SQL_WINDOW_INCLUDED */