1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Change the name of the xShmClose VFS method to xShmUnmap, everywhere.

FossilOrigin-Name: c2d27cf51d33e6f38bab37008d39074051f75274
This commit is contained in:
drh
2010-07-14 00:14:30 +00:00
parent 6e1f482824
commit e11fedc589
10 changed files with 35 additions and 32 deletions

View File

@@ -1481,7 +1481,7 @@ shm_open_err:
** Close a connection to shared-memory. Delete the underlying
** storage if deleteFlag is true.
*/
static int winShmClose(
static int winShmUnmap(
sqlite3_file *fd, /* Database holding shared memory */
int deleteFlag /* Delete after closing if true */
){
@@ -1763,7 +1763,7 @@ shmpage_out:
# define winShmMap 0
# define winShmLock 0
# define winShmBarrier 0
# define winShmClose 0
# define winShmUnmap 0
#endif /* #ifndef SQLITE_OMIT_WAL */
/*
@@ -1793,7 +1793,7 @@ static const sqlite3_io_methods winIoMethod = {
winShmMap, /* xShmMap */
winShmLock, /* xShmLock */
winShmBarrier, /* xShmBarrier */
winShmClose /* xShmClose */
winShmUnmap /* xShmUnmap */
};
/****************************************************************************