[MDEV-30320] WITH TIES cannot be used in EXISTS subquery Created: 2022-12-30  Updated: 2023-11-28

Status: Open
Project: MariaDB Server
Component/s: Parser
Affects Version/s: 10.6, 10.7, 10.8, 10.9, 10.10, 10.11
Fix Version/s: 10.6

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Oleksandr Byelkin
Resolution: Unresolved Votes: 0
Labels: None


 Description   

--source include/have_sequence.inc
 
select * from seq_1_to_20 where exists (select seq from seq_1_to_10 order by seq fetch first 5 row with ties);

10.6 0a67daad

ERROR 4180 (HY000): FETCH ... WITH TIES requires ORDER BY clause to be present


Generated at Thu Feb 08 10:15:22 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.