/ Check-in [f11c6e74]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a problem with crashtest caused by the F_FULLSYNC change. (CVS 2373)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: f11c6e745200525056ae7cf97b4bdf1c7f1db588
User & Date: drh 2005-03-10 14:32:24
Context
2005-03-10
17:06
Another case of returning SQLITE_CORRUPT when a corrupt database file is detected. (CVS 2374) check-in: 87101927 user: drh tags: trunk
14:32
Fix a problem with crashtest caused by the F_FULLSYNC change. (CVS 2373) check-in: f11c6e74 user: drh tags: trunk
14:11
Disable F_FULLSYNC if the sychronous pragma is not set to FULL. (CVS 2372) check-in: 58b8733b user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/os_test.h.

15
16
17
18
19
20
21

22
23
24
25
26
27
28
#define _SQLITE_OS_TEST_H_

#define OsFile OsRealFile
#define OS_UNIX 1
#include "os_unix.h"
#undef OS_UNIX
#undef OsFile


/* Include sqliteInt.h now to get the type u8. */
#include "sqliteInt.h"

typedef struct OsTestFile* OsFile;
typedef struct OsTestFile OsTestFile;
struct OsTestFile {







>







15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#define _SQLITE_OS_TEST_H_

#define OsFile OsRealFile
#define OS_UNIX 1
#include "os_unix.h"
#undef OS_UNIX
#undef OsFile
#undef SET_FULLSYNC

/* Include sqliteInt.h now to get the type u8. */
#include "sqliteInt.h"

typedef struct OsTestFile* OsFile;
typedef struct OsTestFile OsTestFile;
struct OsTestFile {