diff options
author | dan <dan@noemail.net> | 2010-06-14 16:16:33 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2010-06-14 16:16:33 +0000 |
commit | 9785fc9510ac710fc15f4e6a5e4012de48a47c98 (patch) | |
tree | 86195dab06ea3b20578007722c442e3757fda6da /src/os_unix.c | |
parent | 188019153dcf33ffd9d63ba17ab4a29e95561cce (diff) | |
download | sqlite-9785fc9510ac710fc15f4e6a5e4012de48a47c98.tar.gz sqlite-9785fc9510ac710fc15f4e6a5e4012de48a47c98.zip |
Add the new xShmMap (formerly xShmPage) to os_win.c.
FossilOrigin-Name: 13e7a8242206bca4b5bf356ef074e66474d39609
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 22c9a9282..fcccead72 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -3573,7 +3573,7 @@ static void unixShmBarrier( ** address space (if it is not already), *pp is set to point to the mapped ** memory and SQLITE_OK returned. */ -static int unixShmPage( +static int unixShmMap( sqlite3_file *fd, /* Handle open on database file */ int iRegion, /* Region to retrieve */ int szRegion, /* Size of regions */ @@ -3655,7 +3655,7 @@ shmpage_out: # define unixShmLock 0 # define unixShmBarrier 0 # define unixShmClose 0 -# define unixShmPage 0 +# define unixShmMap 0 #endif /* #ifndef SQLITE_OMIT_WAL */ /* @@ -3717,7 +3717,7 @@ static const sqlite3_io_methods METHOD = { \ unixShmLock, /* xShmLock */ \ unixShmBarrier, /* xShmBarrier */ \ unixShmClose, /* xShmClose */ \ - unixShmPage /* xShmPage */ \ + unixShmMap /* xShmMap */ \ }; \ static const sqlite3_io_methods *FINDER##Impl(const char *z, unixFile *p){ \ UNUSED_PARAMETER(z); UNUSED_PARAMETER(p); \ |