1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Remove some vestiges of the old OS_TEST driver. (CVS 2787)

FossilOrigin-Name: 008f676f20c690255e5cb8ae01df47c5094ac240
This commit is contained in:
drh
2005-11-26 03:51:18 +00:00
parent 18839217da
commit d86959f588
4 changed files with 13 additions and 20 deletions

View File

@@ -18,7 +18,7 @@
** file simultaneously, or one process from reading the database while
** 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
#include "sqliteInt.h"
@@ -46,21 +46,14 @@
/*
** The following two macros are used within the TRACEX() macros above
** to print out file-descriptors. They are required so that tracing
** can be turned on when using both the regular os_unix.c and os_test.c
** backends.
** to print out file-descriptors.
**
** PAGERID() takes a pointer to a Pager struct as it's argument. The
** associated file-descriptor is returned. FILEHANDLEID() takes an OsFile
** 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 FILEHANDLEID(fd) (fd.h)
#endif
/*
** The page cache as a whole is always in one of the following