aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2010-07-14 00:14:30 +0000
committerdrh <drh@noemail.net>2010-07-14 00:14:30 +0000
commite11fedc589f95f1e39e9e7cf3e4a9957261ee1e9 (patch)
tree919af0a6b2239d6921a652c4fd77e94f1915cb79 /src/os_unix.c
parent6e1f482824aec7a0484295b4c54b76bb7faa7788 (diff)
downloadsqlite-e11fedc589f95f1e39e9e7cf3e4a9957261ee1e9.tar.gz
sqlite-e11fedc589f95f1e39e9e7cf3e4a9957261ee1e9.zip
Change the name of the xShmClose VFS method to xShmUnmap, everywhere.
FossilOrigin-Name: c2d27cf51d33e6f38bab37008d39074051f75274
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 36fa3bb13..ba614c563 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -3607,6 +3607,9 @@ static void unixShmBarrier(
/*
** Close a connection to shared-memory. Delete the underlying
** storage if deleteFlag is true.
+**
+** If there is no shared memory associated with the connection then this
+** routine is a harmless no-op.
*/
static int unixShmUnmap(
sqlite3_file *fd, /* The underlying database file */