[MDEV-9753] Window functions: reject window frame definition where it is not allowed Created: 2016-03-17 Updated: 2016-04-14 Resolved: 2016-03-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer - Window functions |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Discovered this in The standard, section 6.10, <window function>.
Trying
MariaDB: ok (framing ignored) I think, it is better to follow the standard and return an error, then to accept the frame definition and then silently ignore it. |
| Comments |
| Comment by Sergei Petrunia [ 2016-03-18 ] |
|
Fixed by: commit a197c6bb68d77a0ec73b28d1e6473022ea6b1ae0 Prohibit using window functions of some types with |