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

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

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « third_party/sqlite/src/src/test_malloc.c ('k') | third_party/sqlite/src/src/test_multiplex.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 ** 2011 March 18 2 ** 2011 March 18
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 **
11 ************************************************************************* 11 *************************************************************************
12 ** 12 **
13 ** This file contains a VFS "shim" - a layer that sits in between the 13 ** This file contains a VFS "shim" - a layer that sits in between the
14 ** pager and the real VFS. 14 ** pager and the real VFS.
15 ** 15 **
16 ** This particular shim enforces a multiplex system on DB files. 16 ** This particular shim enforces a multiplex system on DB files.
17 ** This shim shards/partitions a single DB file into smaller 17 ** This shim shards/partitions a single DB file into smaller
18 ** "chunks" such that the total DB file size may exceed the maximum 18 ** "chunks" such that the total DB file size may exceed the maximum
19 ** file size of the underlying file system. 19 ** file size of the underlying file system.
20 ** 20 **
21 */ 21 */
22 22
23 #ifndef _TEST_MULTIPLEX_H 23 #ifndef SQLITE_TEST_MULTIPLEX_H
24 #define _TEST_MULTIPLEX_H 24 #define SQLITE_TEST_MULTIPLEX_H
25 25
26 /* 26 /*
27 ** CAPI: File-control Operations Supported by Multiplex VFS 27 ** CAPI: File-control Operations Supported by Multiplex VFS
28 ** 28 **
29 ** Values interpreted by the xFileControl method of a Multiplex VFS db file-hand le. 29 ** Values interpreted by the xFileControl method of a Multiplex VFS db file-hand le.
30 ** 30 **
31 ** MULTIPLEX_CTRL_ENABLE: 31 ** MULTIPLEX_CTRL_ENABLE:
32 ** This file control is used to enable or disable the multiplex 32 ** This file control is used to enable or disable the multiplex
33 ** shim. 33 ** shim.
34 ** 34 **
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 ** 89 **
90 ** THIS ROUTINE IS NOT THREADSAFE. Call this routine exactly once while 90 ** THIS ROUTINE IS NOT THREADSAFE. Call this routine exactly once while
91 ** shutting down in order to free all remaining multiplex groups. 91 ** shutting down in order to free all remaining multiplex groups.
92 */ 92 */
93 extern int sqlite3_multiplex_shutdown(int eForce); 93 extern int sqlite3_multiplex_shutdown(int eForce);
94 94
95 #ifdef __cplusplus 95 #ifdef __cplusplus
96 } /* End of the 'extern "C"' block */ 96 } /* End of the 'extern "C"' block */
97 #endif 97 #endif
98 98
99 #endif /* _TEST_MULTIPLEX_H */ 99 #endif /* SQLITE_TEST_MULTIPLEX_H */
OLDNEW
« no previous file with comments | « third_party/sqlite/src/src/test_malloc.c ('k') | third_party/sqlite/src/src/test_multiplex.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698