mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-01 06:27:03 +03:00
An improved fix for the min() problem of ticket #800. (CVS 1804)
FossilOrigin-Name: b6e8b7a13cd9f90e2f7d963d9ddbe591571f3a27
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
# This file implements regression tests for SQLite library. The
|
||||
# focus of this script is page cache subsystem.
|
||||
#
|
||||
# $Id: collate4.test,v 1.2 2004/06/11 10:51:41 danielk1977 Exp $
|
||||
# $Id: collate4.test,v 1.3 2004/07/18 21:33:02 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -589,7 +589,7 @@ do_test collate4-4.3 {
|
||||
count {
|
||||
SELECT min(a) FROM collate4t1;
|
||||
}
|
||||
} {10 1}
|
||||
} {10 2}
|
||||
do_test collate4-4.4 {
|
||||
count {
|
||||
SELECT max(a) FROM collate4t1;
|
||||
|
@ -13,7 +13,7 @@
|
||||
# aggregate min() and max() functions and which are handled as
|
||||
# as a special case.
|
||||
#
|
||||
# $Id: minmax.test,v 1.11 2004/07/18 20:52:32 drh Exp $
|
||||
# $Id: minmax.test,v 1.12 2004/07/18 21:33:02 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -68,7 +68,7 @@ do_test minmax-1.5 {
|
||||
} {1}
|
||||
do_test minmax-1.6 {
|
||||
set sqlite_search_count
|
||||
} {1}
|
||||
} {2}
|
||||
do_test minmax-1.7 {
|
||||
set sqlite_search_count 0
|
||||
execsql {SELECT max(x) FROM t1}
|
||||
|
Reference in New Issue
Block a user