aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordan <dan@noemail.net>2010-05-11 16:29:54 +0000
committerdan <dan@noemail.net>2010-05-11 16:29:54 +0000
commit97c1f6c8f2064460140935e4ac45a4f32c335386 (patch)
tree30914fa928b5f0911d93fb6d8efb0879f6df9172 /src/os_unix.c
parentbe5481578ad1e62dfe4a1f7a91e1a88339fadc4e (diff)
downloadsqlite-97c1f6c8f2064460140935e4ac45a4f32c335386.tar.gz
sqlite-97c1f6c8f2064460140935e4ac45a4f32c335386.zip
Have os_unix.c use the suffix "-wal-index" for wal-index files instead of "-wal-inde".
FossilOrigin-Name: 885e854e7cdc79ecc9d5772d563ddc0f61753ab6
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 7cc55c913..50bacfbf7 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -4974,7 +4974,7 @@ static int unixShmOpen(
}
memset(pNew, 0, sizeof(*pNew));
pNew->zFilename = (char*)&pNew[1];
- sqlite3_snprintf(nName+11, pNew->zFilename, "%s-wal-index", zName);
+ sqlite3_snprintf(nName+12, pNew->zFilename, "%s-wal-index", zName);
/* Look to see if there is an existing unixShmFile that can be used.
** If no matching unixShmFile currently exists, create a new one.