aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
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 */