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

Document SQLITE_DEFAULT_CACHE_SIZE and SQLITE_DEFAULT_TEMP_CACHE_SIZE macros. (CVS 2320)

FossilOrigin-Name: ddcea6f8891b02e64f96591af161feb55c00a72c
This commit is contained in:
danielk1977
2005-02-09 01:40:23 +00:00
parent 4d88778b26
commit 24c8ab8030
7 changed files with 47 additions and 21 deletions

View File

@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this script is testing correlated subqueries
#
# $Id: subquery.test,v 1.5 2005/02/08 07:50:42 danielk1977 Exp $
# $Id: subquery.test,v 1.6 2005/02/09 01:40:25 danielk1977 Exp $
#
set testdir [file dirname $argv0]
@ -240,11 +240,16 @@ do_test subquery-3.3.3 {
SELECT max(a), (SELECT d FROM t2 WHERE a=c) FROM t1;
}
} {2 two}
do_test subquery-3.3.3 {
do_test subquery-3.3.4 {
execsql {
SELECT a, (SELECT (SELECT d FROM t2 WHERE a=c)) FROM t1 GROUP BY a;
}
} {1 one 2 two}
do_test subquery-3.3.5 {
execsql {
SELECT a, (SELECT count(*) FROM t2 WHERE a=c) FROM t1;
}
} {1 1 2 1}
#------------------------------------------------------------------
# These tests - subquery-4.* - use the TCL statement cache to try