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

Unified Diff: third_party/sqlite/amalgamation/sqlite3.h

Issue 7891025: [SQLite] Hack to touch page cache to debug slow connection close. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Windows compile. Created 9 years, 3 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 | « sql/connection.cc ('k') | third_party/sqlite/amalgamation/sqlite3.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/amalgamation/sqlite3.h
diff --git a/third_party/sqlite/amalgamation/sqlite3.h b/third_party/sqlite/amalgamation/sqlite3.h
index 0d427902d70da466e21174bdb79a3cde64331c6a..4ee2ee40a5dfdf9df1fabcb29dbc109556168309 100644
--- a/third_party/sqlite/amalgamation/sqlite3.h
+++ b/third_party/sqlite/amalgamation/sqlite3.h
@@ -6477,3 +6477,18 @@ struct sqlite3_rtree_geometry {
#endif /* ifndef _SQLITE3RTREE_H_ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Fault in page cache for db. See http://crbug.com/95527 .
+** *pnTouched will accumulate the number of bytes represented by the
+** touched pages. */
+int sqlite3_95527(sqlite3 *db, unsigned int *pnTouched);
+
+/* Let our code know that it's safe to call the function. */
+#define HAS_SQLITE3_95527
+
+#ifdef __cplusplus
+} /* end of the 'extern "C"' block */
+#endif
« no previous file with comments | « sql/connection.cc ('k') | third_party/sqlite/amalgamation/sqlite3.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698