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

os_win.c is now working with the new locking protocol. (CVS 1581)

FossilOrigin-Name: 77c5eaa10a9d2e2bb8f89b7434d6e6efbacf35e9
This commit is contained in:
drh
2004-06-13 23:07:04 +00:00
parent eafe05b0ce
commit 59eb676017
6 changed files with 20 additions and 19 deletions

View File

@ -12,7 +12,7 @@
# focus of this script testing the ability of SQLite to handle database
# files larger than 4GB.
#
# $Id: bigfile.test,v 1.3 2003/12/19 12:31:22 drh Exp $
# $Id: bigfile.test,v 1.4 2004/06/13 23:07:04 drh Exp $
#
set testdir [file dirname $argv0]
@ -67,6 +67,7 @@ do_test bigfile-1.2 {
}
} $::MAGIC_SUM
# The previous test may fail on some systems because they are unable
# to handle large files. If that is so, then skip all of the following
# tests. We will know the above test failed because the "db" command

View File

@ -13,7 +13,7 @@
# various suported unicode encodings (UTF-8, UTF-16, UTF-16le and
# UTF-16be).
#
# $Id: enc2.test,v 1.8 2004/06/10 14:01:08 danielk1977 Exp $
# $Id: enc2.test,v 1.9 2004/06/13 23:07:04 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -111,6 +111,7 @@ do_test $t.10 {
# The three unicode encodings understood by SQLite.
set encodings [list UTF-8 UTF-16le UTF-16be]
set sqlite_os_trace 0
set i 1
foreach enc $encodings {
file delete -force test.db
@ -119,6 +120,7 @@ foreach enc $encodings {
execsql $dbcontents
db close
run_test_script enc2-$i $enc
db close
incr i
}
@ -188,6 +190,7 @@ do_test enc2-5.3 {
lappend res $::test_collate_enc
} {one two three four five UTF-16BE}
db close
file delete -force test.db
set DB [sqlite db test.db]
execsql {pragma encoding = 'UTF-16LE'}
@ -218,6 +221,7 @@ do_test enc2-5.7 {
lappend res $::test_collate_enc
} {one two three four five UTF-8}
db close
file delete -force test.db
set DB [sqlite db test.db]
execsql {pragma encoding = 'UTF-16BE'}
@ -249,6 +253,3 @@ do_test enc2-5.11 {
} {one two three four five UTF-8}
finish_test