mariadb/mysql-test/suite/encryption
Igor Babaev 77ea99a4b5 MDEV-35869 Wrong result using degenerated subquery with window function
This bug affected queries containing degenerated single-value subqueries
with window functions. The bug led mostly to wrong results for such
queries.

A subquery is called degenerated if it is of the form (SELECT <expr>...).

For degenerated subqueries of the form (SELECT <expr>) the transformation
   (SELECT <expr>) => <expr>
usually is applied. However if <expr> contains set functions or window
functions such rewriting is not valid for an obvious reason. The code
before this patch erroneously applied the transformation when <expr>
contained window functions and did not contain set functions.

Approved by Rex Johnston <rex.johnston@mariadb.com>
2025-01-23 13:50:29 -08:00
..
include Test cleanup related to MDEV-12501 2017-12-16 15:34:48 +00:00
r MDEV-35869 Wrong result using degenerated subquery with window function 2025-01-23 13:50:29 -08:00
t MDEV-31005: Make working cursor-protocol 2024-09-18 18:39:26 +07:00
my.cnf Updated mtr files to support different compiled in options 2019-09-01 19:17:35 +03:00
suite.pm move encryption tests to a dedicate suite 2015-05-13 14:27:16 +02:00