Skip to content
Snippets Groups Projects
Commit a5e498d1 authored by Mergen Imeev's avatar Mergen Imeev Committed by Igor Munkin
Browse files

sql: remove one row limit in EXISTS subquery

According to ANSI, EXISTS is a predicate that tests a given subquery and
returns true if it returns more than 0 rows, false otherwise. However,
after 2a720d11, EXISTS worked correctly only if there were exactly 0
or 1 rows, and in all other cases it gave an error. This patch makes
EXITS work properly.

Closes #8676

NO_DOC=bugfix
parent 41114555
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment