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

Side by Side Diff: third_party/sqlite/src/src/pager.h

Issue 2587603003: [sql] Patch SQLite to allow control of close-time WAL checkpoint. (Closed)
Patch Set: fix UsesUsleep comment from trybot results Created 4 years 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 unified diff | Download patch
« no previous file with comments | « third_party/sqlite/src/src/main.c ('k') | third_party/sqlite/src/src/pager.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 ** 2001 September 15 2 ** 2001 September 15
3 ** 3 **
4 ** The author disclaims copyright to this source code. In place of 4 ** The author disclaims copyright to this source code. In place of
5 ** a legal notice, here is a blessing: 5 ** a legal notice, here is a blessing:
6 ** 6 **
7 ** May you do good and not evil. 7 ** May you do good and not evil.
8 ** May you find forgiveness for yourself and forgive others. 8 ** May you find forgiveness for yourself and forgive others.
9 ** May you share freely, never taking more than you give. 9 ** May you share freely, never taking more than you give.
10 ** 10 **
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 /* Open and close a Pager connection. */ 105 /* Open and close a Pager connection. */
106 int sqlite3PagerOpen( 106 int sqlite3PagerOpen(
107 sqlite3_vfs*, 107 sqlite3_vfs*,
108 Pager **ppPager, 108 Pager **ppPager,
109 const char*, 109 const char*,
110 int, 110 int,
111 int, 111 int,
112 int, 112 int,
113 void(*)(DbPage*) 113 void(*)(DbPage*)
114 ); 114 );
115 int sqlite3PagerClose(Pager *pPager); 115 int sqlite3PagerClose(Pager *pPager, sqlite3*);
116 int sqlite3PagerReadFileheader(Pager*, int, unsigned char*); 116 int sqlite3PagerReadFileheader(Pager*, int, unsigned char*);
117 117
118 /* Functions used to configure a Pager object. */ 118 /* Functions used to configure a Pager object. */
119 void sqlite3PagerSetBusyhandler(Pager*, int(*)(void *), void *); 119 void sqlite3PagerSetBusyhandler(Pager*, int(*)(void *), void *);
120 int sqlite3PagerSetPagesize(Pager*, u32*, int); 120 int sqlite3PagerSetPagesize(Pager*, u32*, int);
121 #ifdef SQLITE_HAS_CODEC 121 #ifdef SQLITE_HAS_CODEC
122 void sqlite3PagerAlignReserve(Pager*,Pager*); 122 void sqlite3PagerAlignReserve(Pager*,Pager*);
123 #endif 123 #endif
124 int sqlite3PagerMaxPageCount(Pager*, int); 124 int sqlite3PagerMaxPageCount(Pager*, int);
125 void sqlite3PagerSetCachesize(Pager*, int); 125 void sqlite3PagerSetCachesize(Pager*, int);
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 int *sqlite3PagerStats(Pager*); 215 int *sqlite3PagerStats(Pager*);
216 void sqlite3PagerRefdump(Pager*); 216 void sqlite3PagerRefdump(Pager*);
217 void disable_simulated_io_errors(void); 217 void disable_simulated_io_errors(void);
218 void enable_simulated_io_errors(void); 218 void enable_simulated_io_errors(void);
219 #else 219 #else
220 # define disable_simulated_io_errors() 220 # define disable_simulated_io_errors()
221 # define enable_simulated_io_errors() 221 # define enable_simulated_io_errors()
222 #endif 222 #endif
223 223
224 #endif /* _PAGER_H_ */ 224 #endif /* _PAGER_H_ */
OLDNEW
« no previous file with comments | « third_party/sqlite/src/src/main.c ('k') | third_party/sqlite/src/src/pager.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698