When adding the implied "LIMIT 1" to the end of a scalar subquery, make sure
that subquery is not a VALUES-only query as such queries cannot deal with
LIMIT clauses.
check-in: 7c27310b user: drh tags: trunk

When doing the (dubious) conversion of double-quoted identifier into string
literal for MySQL compatibility, be sure to also clear the iTable value from
the Expr entry to avoid an assert.
check-in: d7211b68 user: drh tags: trunk

Add a test case for what was formerly thought to be an unreachable condition:
when the LHS of an OR operator contains an error and the RHS contains an IN
operator.
check-in: 38727425 user: drh tags: trunk

An oversize hex literal can cause a parsing error while generating code for
constants that are factored out of the main body of the VDBE program. So
allow for that case.
check-in: a084690b user: drh tags: trunk