/ Check-in [1865e0d8]
Login
Overview
Comment:Do not attempt to read the journal file on windows because manditory locking on windows will not allow it. Ticket #1166. (CVS 2404)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:1865e0d81c827cc879dde96c6a9f42e740b6a560
User & Date: drh 2005-03-20 22:54:56
Context
2005-03-20
23:18
Fix for ticket #1167 (CVS 2405) check-in: d9aa0aa9 user: drh tags: trunk
22:54
Do not attempt to read the journal file on windows because manditory locking on windows will not allow it. Ticket #1166. (CVS 2404) check-in: 1865e0d8 user: drh tags: trunk
22:47
More changes for ticket #1171 after additional analysis. (CVS 2403) check-in: 0471d6b8 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/journal1.test.

     9      9   #
    10     10   #***********************************************************************
    11     11   # This file implements regression tests for SQLite library.
    12     12   #
    13     13   # This file implements tests to make sure that leftover journals from
    14     14   # prior databases do not try to rollback into new databases.
    15     15   #
    16         -# $Id: journal1.test,v 1.1 2005/03/15 17:09:30 drh Exp $
           16  +# $Id: journal1.test,v 1.2 2005/03/20 22:54:56 drh Exp $
    17     17   
    18     18   
    19     19   set testdir [file dirname $argv0]
    20     20   source $testdir/tester.tcl
           21  +
           22  +# These tests will not work on windows because windows uses
           23  +# manditory file locking which breaks the file copy command.
           24  +#
           25  +if {$tcl_platform(platform)=="windows"} {
           26  +  finish_test
           27  +  return
           28  +}
    21     29   
    22     30   # Create a smaple database
    23     31   #
    24     32   do_test journal1-1.1 {
    25     33     execsql {
    26     34       CREATE TABLE t1(a,b);
    27     35       INSERT INTO t1 VALUES(1,randstr(10,400));