1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

More efficient handling of the LIMIT clause. Scalar subqueries and EXISTS

on compound SELECT statements now working properly.  Ticket #1473. (CVS 2747)

FossilOrigin-Name: edca8913ca012fc0c17343a27f819de95147b1bd
This commit is contained in:
drh
2005-10-06 16:53:14 +00:00
parent 23cc57f6a3
commit ec7429ae27
9 changed files with 829 additions and 69 deletions

View File

@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this file is testing the use of indices in WHERE clases.
#
# $Id: where.test,v 1.36 2005/09/08 10:37:02 drh Exp $
# $Id: where.test,v 1.37 2005/10/06 16:53:17 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -306,7 +306,7 @@ do_test where-4.2 {
count {
SELECT * FROM t1 WHERE 1 LIMIT 1
}
} {1 0 4 1}
} {1 0 4 0}
do_test where-4.3 {
execsql {
SELECT 99 WHERE 0