1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Add a comment on the implementation of sqlite3OsLock(). No code changes. (CVS 1688)

FossilOrigin-Name: 084f3fffbdeb1e2b375817ae1111b867c9d32559
This commit is contained in:
danielk1977
2004-06-25 07:21:28 +00:00
parent f187bd9d64
commit f42f25c2c5
4 changed files with 48 additions and 10 deletions

View File

@@ -18,7 +18,7 @@
** file simultaneously, or one process from reading the database while
** another is writing.
**
** @(#) $Id: pager.c,v 1.139 2004/06/25 06:23:23 danielk1977 Exp $
** @(#) $Id: pager.c,v 1.140 2004/06/25 07:21:28 danielk1977 Exp $
*/
#include "os.h" /* Must be first to enable large file support */
#include "sqliteInt.h"
@@ -475,7 +475,7 @@ static int seekJournalHdr(Pager *pPager){
** - 4 bytes: Initial database page count.
** - 4 bytes: Sector size used by the process that wrote this journal.
**
** Followed by (JOURNAL_HDR_SZ - 20) bytes of unused space.
** Followed by (JOURNAL_HDR_SZ - 24) bytes of unused space.
*/
static int writeJournalHdr(Pager *pPager){