Reactivate query flattening when the result set of the outer query has
commitb83c94314dbda09f71c43540369a816d4c42e127
authorD. Richard Hipp <drh@hwaci.com>
Sat, 28 Oct 2017 20:51:54 +0000 (28 20:51 +0000)
committerD. Richard Hipp <drh@hwaci.com>
Sat, 28 Oct 2017 20:51:54 +0000 (28 20:51 +0000)
tree6a132b84d6e556d1a37708d3fde281d55861463d
parent2d7eca3ce082a2b9cf2a8db40fec13d7e49db97f
Reactivate query flattening when the result set of the outer query has
no function calls or subqueries.  This is a partial reversal of
check-in [c9104b59].  Co-routines are still preferred if the outer
query has a complex result set, but for simple results sets, query flattening
is used.  Check-in [4464f40ccd7] is completely backed
out due to this change.
src/expr.c
src/select.c
src/sqliteInt.h