Skip to content

Commit

Permalink
Updates to requirement marks. No code changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
drh committed Nov 22, 2016
1 parent f5c36b9 commit c2400b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
5 changes: 0 additions & 5 deletions test/evidence/in1.test
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ halt
onlyif oracle
halt

# EVIDENCE-OF: R-58875-56087 The IN and NOT IN operators take a single
# scalar operand on the left and a vector operand on the right formed by
# an explicit list of zero or more scalars or by a single subquery.
#

# EVIDENCE-OF: R-52275-55503 When the right operand is an empty set, the
# result of IN is false and the result of NOT IN is true, regardless of
# the left operand and even if the left operand is NULL.
Expand Down
10 changes: 3 additions & 7 deletions test/evidence/in2.test
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# EVIDENCE-OF: R-58875-56087 The IN and NOT IN operators take a single
# scalar operand on the left and a vector operand on the right formed by
# an explicit list of zero or more scalars or by a single subquery.
#

# EVIDENCE-OF: R-52275-55503 When the right operand is an empty set, the
# result of IN is false and the result of NOT IN is true, regardless of
Expand Down Expand Up @@ -293,8 +289,9 @@ query I nosort
SELECT 1 FROM t1 WHERE NULL NOT IN ( NULL, '1' )
----

# EVIDENCE-OF: R-00416-37972 When the right operand of an IN or NOT IN
# operator is a subquery, the subquery must have a single result column.
# EVIDENCE-OF: R-35033-20570 The subquery on the right of an IN or NOT
# IN operator must be a scalar subquery if the left expression is not a
# row value expression.

query I nosort
SELECT 1 FROM t1 WHERE 1 IN (SELECT 1)
Expand All @@ -314,4 +311,3 @@ SELECT 1 FROM t1 WHERE 1 IN (SELECT * FROM t1)

statement error
SELECT 1 FROM t1 WHERE 1 IN (SELECT min(x),max(x) FROM t1)

0 comments on commit c2400b2

Please sign in to comment.