Commit Graph

3 Commits

Author SHA1 Message Date
drh
e1991d2a8d Additional test cases for nested subqueries in a WHERE clause. (CVS 5999)
FossilOrigin-Name: 4f10f19dd1e66cd29b0e1e26506154d670c3bc46
2008-12-09 13:12:56 +00:00
drh
2bf90f1e64 A subquery in the result set of a SELECT should be able to look into outer
queries to find variable references.  But a subquery in the FROM clause
should not be able to do this.  Ticket #3530. (CVS 5998)

FossilOrigin-Name: be03fa0543044dc46952695e963d9b82afed892b
2008-12-09 13:04:29 +00:00
drh
588a9a1a1c Defer deleting Table objects associated with flattened subqueries until
all code has been generated, in case some expression node still references
the Table object.  Ticket #3346. (CVS 5650)

FossilOrigin-Name: d04d70336727a0db959c672e6c22cdaa0505dce5
2008-09-01 15:52:10 +00:00