mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Remove some vestiges of the old OS_TEST driver. (CVS 2787)
FossilOrigin-Name: 008f676f20c690255e5cb8ae01df47c5094ac240
This commit is contained in:
14
manifest
14
manifest
@@ -1,5 +1,5 @@
|
|||||||
C Add\san\sOS\smethod\sfor\smaking\scopies\sof\sfile\sdescriptors.\s\sThis\sfixes\sthe\ncrash\stests.\s(CVS\s2786)
|
C Remove\ssome\svestiges\sof\sthe\sold\sOS_TEST\sdriver.\s(CVS\s2787)
|
||||||
D 2005-11-26T03:43:23
|
D 2005-11-26T03:51:19
|
||||||
F Makefile.in 28a2772cd9e03ba758c2a052813092cdb9da73bf
|
F Makefile.in 28a2772cd9e03ba758c2a052813092cdb9da73bf
|
||||||
F Makefile.linux-gcc aee18d8a05546dcf1888bd4547e442008a49a092
|
F Makefile.linux-gcc aee18d8a05546dcf1888bd4547e442008a49a092
|
||||||
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
|
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
|
||||||
@@ -50,7 +50,7 @@ F src/insert.c da031c3ed8e1675fac891990095d277c2ba6e205
|
|||||||
F src/legacy.c d58ea507bce885298a2c8c3cbb0f4bff5d47830b
|
F src/legacy.c d58ea507bce885298a2c8c3cbb0f4bff5d47830b
|
||||||
F src/main.c 97bb830cdbd378d1f87469618471f52d9d263d09
|
F src/main.c 97bb830cdbd378d1f87469618471f52d9d263d09
|
||||||
F src/md5.c 7ae1c39044b95de2f62e066f47bb1deb880a1070
|
F src/md5.c 7ae1c39044b95de2f62e066f47bb1deb880a1070
|
||||||
F src/os.h 101564686bffe1825f7c66a712acb52e3ff3530d
|
F src/os.h 70da8a43e03190a981d02bdc7cef1eb9ad1db4ad
|
||||||
F src/os_common.h d74a11728ad2444b6b695b94c28c06881f049e49
|
F src/os_common.h d74a11728ad2444b6b695b94c28c06881f049e49
|
||||||
F src/os_test.c 49833426101f99aee4bb5f6a44b7c4b2029fda1c
|
F src/os_test.c 49833426101f99aee4bb5f6a44b7c4b2029fda1c
|
||||||
F src/os_test.h 903c93554c23d88f34f667f1979e4a1cee792af3
|
F src/os_test.h 903c93554c23d88f34f667f1979e4a1cee792af3
|
||||||
@@ -58,7 +58,7 @@ F src/os_unix.c 09f174975fe054ed73117ee17c5650f55773fbe3
|
|||||||
F src/os_unix.h 5768d56d28240d3fe4537fac08cc85e4fb52279e
|
F src/os_unix.h 5768d56d28240d3fe4537fac08cc85e4fb52279e
|
||||||
F src/os_win.c a3762efcc6eebbf8a38d25ff80e0e510ec7afead
|
F src/os_win.c a3762efcc6eebbf8a38d25ff80e0e510ec7afead
|
||||||
F src/os_win.h 41a946bea10f61c158ce8645e7646b29d44f122b
|
F src/os_win.h 41a946bea10f61c158ce8645e7646b29d44f122b
|
||||||
F src/pager.c 8231fb8d947d5c524763de34174380684bb801d1
|
F src/pager.c 309d473c01b5e2b355fc3c8adce2a36df16c43a3
|
||||||
F src/pager.h e7b41ce8e7b5f629d456708b7ad9a8c8ede37140
|
F src/pager.h e7b41ce8e7b5f629d456708b7ad9a8c8ede37140
|
||||||
F src/parse.y e4d57c2fd5cc02f19822ec41f6dc2bfc9bc85609
|
F src/parse.y e4d57c2fd5cc02f19822ec41f6dc2bfc9bc85609
|
||||||
F src/pragma.c e278b3f722379ab9d630a1569ac05f586f01f4db
|
F src/pragma.c e278b3f722379ab9d630a1569ac05f586f01f4db
|
||||||
@@ -322,7 +322,7 @@ F www/tclsqlite.tcl ddcf912ea48695603c8ed7efb29f0812ef8d1b49
|
|||||||
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
|
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
|
||||||
F www/version3.tcl a99cf5f6d8bd4d5537584a2b342f0fb9fa601d8b
|
F www/version3.tcl a99cf5f6d8bd4d5537584a2b342f0fb9fa601d8b
|
||||||
F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
|
F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
|
||||||
P 1f69aec285dd8e26bd739d5e44bb50fe03a9682a
|
P 57a674fc71512f11393b8eb595961ec9465ba4e1
|
||||||
R 4253512b789e7bb7309536d870bf771b
|
R ecb19a3d611238047de996f8008f2591
|
||||||
U drh
|
U drh
|
||||||
Z 5555b9dd495cd99105a3717d675a6704
|
Z 7a1835ca619ef377195f89e0fda27e67
|
||||||
|
@@ -1 +1 @@
|
|||||||
57a674fc71512f11393b8eb595961ec9465ba4e1
|
008f676f20c690255e5cb8ae01df47c5094ac240
|
6
src/os.h
6
src/os.h
@@ -23,7 +23,7 @@
|
|||||||
** N.B. MacOS means Mac Classic (or Carbon). Treat Darwin (OS X) as Unix.
|
** N.B. MacOS means Mac Classic (or Carbon). Treat Darwin (OS X) as Unix.
|
||||||
** The MacOS build is designed to use CodeWarrior (tested with v8)
|
** The MacOS build is designed to use CodeWarrior (tested with v8)
|
||||||
*/
|
*/
|
||||||
#if !defined(OS_UNIX) && !defined(OS_TEST) && !defined(OS_OTHER)
|
#if !defined(OS_UNIX) && !defined(OS_ALT)
|
||||||
# define OS_OTHER 0
|
# define OS_OTHER 0
|
||||||
# ifndef OS_WIN
|
# ifndef OS_WIN
|
||||||
# if defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__) || defined(__MINGW32__) || defined(__BORLANDC__)
|
# if defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__) || defined(__MINGW32__) || defined(__BORLANDC__)
|
||||||
@@ -45,8 +45,8 @@
|
|||||||
/*
|
/*
|
||||||
** Invoke the appropriate operating-system specific header file.
|
** Invoke the appropriate operating-system specific header file.
|
||||||
*/
|
*/
|
||||||
#if OS_TEST
|
#if OS_ALT
|
||||||
# include "os_test.h"
|
# include "os_alt.h"
|
||||||
#endif
|
#endif
|
||||||
#if OS_UNIX
|
#if OS_UNIX
|
||||||
# include "os_unix.h"
|
# include "os_unix.h"
|
||||||
|
11
src/pager.c
11
src/pager.c
@@ -18,7 +18,7 @@
|
|||||||
** file simultaneously, or one process from reading the database while
|
** file simultaneously, or one process from reading the database while
|
||||||
** another is writing.
|
** another is writing.
|
||||||
**
|
**
|
||||||
** @(#) $Id: pager.c,v 1.219 2005/11/26 03:43:23 drh Exp $
|
** @(#) $Id: pager.c,v 1.220 2005/11/26 03:51:19 drh Exp $
|
||||||
*/
|
*/
|
||||||
#ifndef SQLITE_OMIT_DISKIO
|
#ifndef SQLITE_OMIT_DISKIO
|
||||||
#include "sqliteInt.h"
|
#include "sqliteInt.h"
|
||||||
@@ -46,21 +46,14 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
** The following two macros are used within the TRACEX() macros above
|
** The following two macros are used within the TRACEX() macros above
|
||||||
** to print out file-descriptors. They are required so that tracing
|
** to print out file-descriptors.
|
||||||
** can be turned on when using both the regular os_unix.c and os_test.c
|
|
||||||
** backends.
|
|
||||||
**
|
**
|
||||||
** PAGERID() takes a pointer to a Pager struct as it's argument. The
|
** PAGERID() takes a pointer to a Pager struct as it's argument. The
|
||||||
** associated file-descriptor is returned. FILEHANDLEID() takes an OsFile
|
** associated file-descriptor is returned. FILEHANDLEID() takes an OsFile
|
||||||
** struct as it's argument.
|
** struct as it's argument.
|
||||||
*/
|
*/
|
||||||
#ifdef OS_TEST
|
|
||||||
#define PAGERID(p) (p->fd->fd.h)
|
|
||||||
#define FILEHANDLEID(fd) (fd->fd.h)
|
|
||||||
#else
|
|
||||||
#define PAGERID(p) (p->fd.h)
|
#define PAGERID(p) (p->fd.h)
|
||||||
#define FILEHANDLEID(fd) (fd.h)
|
#define FILEHANDLEID(fd) (fd.h)
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** The page cache as a whole is always in one of the following
|
** The page cache as a whole is always in one of the following
|
||||||
|
Reference in New Issue
Block a user