mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-17137: Syntax errors with VIEW using MEDIAN
The syntax error happened because we had not implemented a different print for percentile functions. The syntax is a bit different when we use percentile functions as window functions in comparision to normal window functions. Implemented a seperate print function for percentile functions
This commit is contained in:
@ -147,6 +147,8 @@ class Window_spec : public Sql_alloc
|
||||
}
|
||||
|
||||
void print(String *str, enum_query_type query_type);
|
||||
void print_order(String *str, enum_query_type query_type);
|
||||
void print_partition(String *str, enum_query_type query_type);
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user