mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Fix some test scripts so that they work with a minimal build configuration. (CVS 2241)
FossilOrigin-Name: d267fb3ca3f31ee138c9613cb84e873ede7f141a
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
# This file implements regression tests for SQLite library. The
|
||||
# focus of this file is testing built-in functions.
|
||||
#
|
||||
# $Id: func.test,v 1.31 2005/01/11 16:54:15 drh Exp $
|
||||
# $Id: func.test,v 1.32 2005/01/20 02:17:02 danielk1977 Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -248,7 +248,9 @@ do_test func-7.1 {
|
||||
# Tests for aggregate functions and how they handle NULLs.
|
||||
#
|
||||
do_test func-8.1 {
|
||||
execsql {EXPLAIN SELECT sum(a) FROM t2;}
|
||||
ifcapable explain {
|
||||
execsql {EXPLAIN SELECT sum(a) FROM t2;}
|
||||
}
|
||||
execsql {
|
||||
SELECT sum(a), count(a), round(avg(a),2), min(a), max(a), count(*) FROM t2;
|
||||
}
|
||||
|
Reference in New Issue
Block a user