Details
-
Bug
-
Status: Confirmed (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.6, 10.11, 11.4, 11.8, 12.2, 12.3.1
-
None
-
ubuntu22.04
Description
Summary
Crash when comparing a ROW(...) expression involving a window function to a correlated row subquery .
Affected version
- MariaDB 12.3.1 (reproduced on asan-debug build)
Steps to reproduce
- Create table and data:
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (vkey INT, c5 INT);
INSERT INTO t1 VALUES (1, 1), (2, 2), (3, 3);
- Run:
SELECT ROW(AVG(vkey) OVER (PARTITION BY vkey), 59) =
(SELECT ta.vkey, 59
FROM t1 ta
JOIN t1 tb ON (ta.vkey = outer_t.c5)
LIMIT 1)FROM t1 AS outer_t;
Actual result
ERROR 2026 (HY000): TLS/SSL error: unexpected eof while reading
Expected result
- No server crash.
Attachments
Issue Links
- is duplicated by
-
MDEV-39206 Crash at Type_handler_composite::make_sort_key_part()
-
- Closed
-