Index: third_party/sqlite/src/src/journal.c |
diff --git a/third_party/sqlite/src/src/journal.c b/third_party/sqlite/src/src/journal.c |
index 9466e69db14f12bd673471cde24efefe52045f75..2f9e222089d63a2f8ed38b1cead1f69b52c6efcd 100644 |
--- a/third_party/sqlite/src/src/journal.c |
+++ b/third_party/sqlite/src/src/journal.c |
@@ -10,12 +10,6 @@ |
** |
************************************************************************* |
** |
-** @(#) $Id: journal.c,v 1.9 2009/01/20 17:06:27 danielk1977 Exp $ |
-*/ |
- |
-#ifdef SQLITE_ENABLE_ATOMIC_WRITE |
- |
-/* |
** This file implements a special kind of sqlite3_file object used |
** by SQLite to create journal files if the atomic-write optimization |
** is enabled. |
@@ -30,7 +24,7 @@ |
** buffer, or |
** 2) The sqlite3JournalCreate() function is called. |
*/ |
- |
+#ifdef SQLITE_ENABLE_ATOMIC_WRITE |
#include "sqliteInt.h" |
@@ -188,7 +182,11 @@ static struct sqlite3_io_methods JournalFileMethods = { |
0, /* xCheckReservedLock */ |
0, /* xFileControl */ |
0, /* xSectorSize */ |
- 0 /* xDeviceCharacteristics */ |
+ 0, /* xDeviceCharacteristics */ |
+ 0, /* xShmMap */ |
+ 0, /* xShmLock */ |
+ 0, /* xShmBarrier */ |
+ 0 /* xShmUnmap */ |
}; |
/* |