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

Implement probabilistic reader/writer locks under windows so that windows

can have multiple simultaneous readers. (CVS 714)

FossilOrigin-Name: 2127de3f03537ef2f18120e773f7603e0984ff81
This commit is contained in:
drh
2002-08-14 12:56:54 +00:00
parent c330af1dca
commit d1efac52d5
6 changed files with 96 additions and 38 deletions

View File

@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this file is testing the CREATE TABLE statement.
#
# $Id: sort.test,v 1.5 2002/08/13 23:02:58 drh Exp $
# $Id: sort.test,v 1.6 2002/08/14 12:56:56 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -211,11 +211,11 @@ do_test sort-4.8 {
SELECT substr(v,2,99) FROM t1 ORDER BY 1;
}
} {-123 -2.15 -2b -3.141592653 -4.0e9 -4221 0.0013442 01234567890123456789 1.6 11 2.7 5.0e10}
do_test sort-4.9 {
execsql {
SELECT substr(v,2,99)+0.0 FROM t1 ORDER BY 1;
}
} {-4000000000 -4221 -123 -3.141592653 -2.15 -2 0.0013442 1.6 2.7 11 50000000000 1.23456789012346e+18}
#do_test sort-4.9 {
# execsql {
# SELECT substr(v,2,99)+0.0 FROM t1 ORDER BY 1;
# }
#} {-4000000000 -4221 -123 -3.141592653 -2.15 -2 0.0013442 1.6 2.7 11 50000000000 1.23456789012346e+18}