1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Have os_unix.c use the suffix "-wal-index" for wal-index files instead of "-wal-inde".

FossilOrigin-Name: 885e854e7cdc79ecc9d5772d563ddc0f61753ab6
This commit is contained in:
dan
2010-05-11 16:29:54 +00:00
parent be5481578a
commit 97c1f6c8f2
3 changed files with 9 additions and 19 deletions

View File

@@ -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.