OLD | NEW |
1 /* | 1 /* |
2 ** 2007 May 7 | 2 ** 2007 May 7 |
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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 #endif | 91 #endif |
92 | 92 |
93 /* | 93 /* |
94 ** The maximum number of arguments to an SQL function. | 94 ** The maximum number of arguments to an SQL function. |
95 */ | 95 */ |
96 #ifndef SQLITE_MAX_FUNCTION_ARG | 96 #ifndef SQLITE_MAX_FUNCTION_ARG |
97 # define SQLITE_MAX_FUNCTION_ARG 127 | 97 # define SQLITE_MAX_FUNCTION_ARG 127 |
98 #endif | 98 #endif |
99 | 99 |
100 /* | 100 /* |
101 ** The maximum number of in-memory pages to use for the main database | 101 ** The suggested maximum number of in-memory pages to use for |
102 ** table and for temporary tables. The SQLITE_DEFAULT_CACHE_SIZE | 102 ** the main database table and for temporary tables. |
| 103 ** |
| 104 ** IMPLEMENTATION-OF: R-31093-59126 The default suggested cache size |
| 105 ** is 2000 pages. |
| 106 ** IMPLEMENTATION-OF: R-48205-43578 The default suggested cache size can be |
| 107 ** altered using the SQLITE_DEFAULT_CACHE_SIZE compile-time options. |
103 */ | 108 */ |
104 #ifndef SQLITE_DEFAULT_CACHE_SIZE | 109 #ifndef SQLITE_DEFAULT_CACHE_SIZE |
105 # define SQLITE_DEFAULT_CACHE_SIZE 2000 | 110 # define SQLITE_DEFAULT_CACHE_SIZE 2000 |
106 #endif | 111 #endif |
107 #ifndef SQLITE_DEFAULT_TEMP_CACHE_SIZE | |
108 # define SQLITE_DEFAULT_TEMP_CACHE_SIZE 500 | |
109 #endif | |
110 | 112 |
111 /* | 113 /* |
112 ** The default number of frames to accumulate in the log file before | 114 ** The default number of frames to accumulate in the log file before |
113 ** checkpointing the database in WAL mode. | 115 ** checkpointing the database in WAL mode. |
114 */ | 116 */ |
115 #ifndef SQLITE_DEFAULT_WAL_AUTOCHECKPOINT | 117 #ifndef SQLITE_DEFAULT_WAL_AUTOCHECKPOINT |
116 # define SQLITE_DEFAULT_WAL_AUTOCHECKPOINT 1000 | 118 # define SQLITE_DEFAULT_WAL_AUTOCHECKPOINT 1000 |
117 #endif | 119 #endif |
118 | 120 |
119 /* | 121 /* |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 /* | 201 /* |
200 ** Maximum depth of recursion for triggers. | 202 ** Maximum depth of recursion for triggers. |
201 ** | 203 ** |
202 ** A value of 1 means that a trigger program will not be able to itself | 204 ** A value of 1 means that a trigger program will not be able to itself |
203 ** fire any triggers. A value of 0 means that no trigger programs at all | 205 ** fire any triggers. A value of 0 means that no trigger programs at all |
204 ** may be executed. | 206 ** may be executed. |
205 */ | 207 */ |
206 #ifndef SQLITE_MAX_TRIGGER_DEPTH | 208 #ifndef SQLITE_MAX_TRIGGER_DEPTH |
207 # define SQLITE_MAX_TRIGGER_DEPTH 1000 | 209 # define SQLITE_MAX_TRIGGER_DEPTH 1000 |
208 #endif | 210 #endif |
OLD | NEW |