Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: third_party/sqlite/src/src/pager.c

Issue 9144001: The complete work-in-progress SQLite recover virtual table. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sigh, forgot to specify baseline. Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/src/main.c ('k') | third_party/sqlite/src/src/recover.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/src/pager.c
diff --git a/third_party/sqlite/src/src/pager.c b/third_party/sqlite/src/src/pager.c
index 8cd31a91d6d9cf98788dabb5b7e8258945bd7a47..86f06f0c25f849ed4412d243198a49d113a17b06 100644
--- a/third_party/sqlite/src/src/pager.c
+++ b/third_party/sqlite/src/src/pager.c
@@ -5130,6 +5130,7 @@ void sqlite3PagerUnref(DbPage *pPg){
}
}
+#if 0
#if defined(__APPLE__)
/*
** Create and return a CFURLRef given a cstring containing the path to a file.
@@ -5143,6 +5144,7 @@ static CFURLRef create_cfurl_from_cstring(const char* filePath){
return urlRef;
}
#endif
+#endif
/*
** This function is called at the start of every write transaction.
@@ -5203,6 +5205,7 @@ static int pager_open_journal(Pager *pPager){
#else
rc = sqlite3OsOpen(pVfs, pPager->zJournal, pPager->jfd, flags, 0);
#endif
+#if 0
#if defined(__APPLE__)
/* Set the TimeMachine exclusion metadata for the journal if it has
** been set for the database. Only do this for unix-type vfs
@@ -5221,6 +5224,7 @@ static int pager_open_journal(Pager *pPager){
CFRelease(database);
}
#endif
+#endif
}
assert( rc!=SQLITE_OK || isOpen(pPager->jfd) );
}
« no previous file with comments | « third_party/sqlite/src/src/main.c ('k') | third_party/sqlite/src/src/recover.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698