1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Test coverage improvements. (CVS 2215)

FossilOrigin-Name: 92f9d2b2f480fccfa6e8b70a1d19058b92a4ea8f
This commit is contained in:
drh
2005-01-15 01:52:31 +00:00
parent 8b07c7178a
commit 018d1a4929
8 changed files with 68 additions and 40 deletions

View File

@ -12,7 +12,7 @@
# focus of this file is testing the LIMIT ... OFFSET ... clause
# of SELECT statements.
#
# $Id: limit.test,v 1.19 2004/12/16 21:09:18 drh Exp $
# $Id: limit.test,v 1.20 2005/01/15 01:52:33 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -348,5 +348,12 @@ do_test limit-9.4 {
LIMIT 2
}
} {1 2}
do_test limit-9.5 {
catchsql {
SELECT * FROM t6 LIMIT 3
UNION
SELECT * FROM t7 LIMIT 3
}
} {1 {LIMIT clause should come after UNION not before}}
finish_test