1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-16 23:02:26 +03:00

Change the name of the shared-memory file on windows from *-wal-index to

*-shm, for consistency with unix.

FossilOrigin-Name: 5995cb15080cfb707ddda501f975673f658106f7
This commit is contained in:
drh
2010-06-25 12:52:47 +00:00
parent f544b4c4b8
commit d36f660d5b
3 changed files with 19 additions and 9 deletions

View File

@@ -1390,7 +1390,7 @@ static int winShmOpen(
}
memset(pNew, 0, sizeof(*pNew));
pNew->zFilename = (char*)&pNew[1];
sqlite3_snprintf(nName+15, pNew->zFilename, "%s-wal-index", pDbFd->zPath);
sqlite3_snprintf(nName+15, pNew->zFilename, "%s-shm", pDbFd->zPath);
/* Look to see if there is an existing winShmNode that can be used.
** If no matching winShmNode currently exists, create a new one.