mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Move the xShmMap method to in between xShmLock and xShmBarrier, since it seems
to fit in there logically. FossilOrigin-Name: 58dfd83d8b7905391e2a06bb918ffa209c6de6b5
This commit is contained in:
@@ -3653,9 +3653,9 @@ shmpage_out:
|
||||
#else
|
||||
# define unixShmOpen 0
|
||||
# define unixShmLock 0
|
||||
# define unixShmMap 0
|
||||
# define unixShmBarrier 0
|
||||
# define unixShmClose 0
|
||||
# define unixShmMap 0
|
||||
#endif /* #ifndef SQLITE_OMIT_WAL */
|
||||
|
||||
/*
|
||||
@@ -3715,9 +3715,9 @@ static const sqlite3_io_methods METHOD = { \
|
||||
unixDeviceCharacteristics, /* xDeviceCapabilities */ \
|
||||
unixShmOpen, /* xShmOpen */ \
|
||||
unixShmLock, /* xShmLock */ \
|
||||
unixShmMap, /* xShmMap */ \
|
||||
unixShmBarrier, /* xShmBarrier */ \
|
||||
unixShmClose, /* xShmClose */ \
|
||||
unixShmMap /* xShmMap */ \
|
||||
unixShmClose /* xShmClose */ \
|
||||
}; \
|
||||
static const sqlite3_io_methods *FINDER##Impl(const char *z, unixFile *p){ \
|
||||
UNUSED_PARAMETER(z); UNUSED_PARAMETER(p); \
|
||||
|
||||
Reference in New Issue
Block a user