First public contribution.
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // SQLite C API test application. Build-time macros.
23 MACRO SQLITE_OS_OTHER=1
24 MACRO SQLITE_OS_SYMBIAN=1
26 //The default SQLITE_MAX_COLUMN value is 2000. It causes regression test failures.
27 MACRO SQLITE_MAX_COLUMN=4096
29 //The default SQLITE_MAX_LENGTH value is 1000000000. It causes an artificial limit on the size of a BLOB object
30 MACRO SQLITE_MAX_LENGTH=2147483647
32 //The default SQLITE_MAX_EXPR_DEPTH value is 1000. It causes regression test failures (stack overflow).
33 MACRO SQLITE_MAX_EXPR_DEPTH=250
35 //The default SQLITE_MAX_COMPOUND_SELECT value is 500. It causes regression test failures (stack overflow).
36 MACRO SQLITE_MAX_COMPOUND_SELECT=50
38 //The SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT value is set to -1 (the default value) - no journal size limit.
39 //The journal size limit is used only if SQLITE_DEFAULT_LOCKING_MODE is 1 (exclusive mode). But for the library it is 0 (normal mode).
40 MACRO SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT=-1
42 //Set the locking mode to be NORMAL by default
43 MACRO SQLITE_DEFAULT_LOCKING_MODE=0
45 //Multi-threaded release. The database handles cannot be shared between threads.
46 MACRO SQLITE_THREADSAFE=2
48 //Enable memory management
49 MACRO SQLITE_ENABLE_MEMORY_MANAGEMENT=1
51 //Disable >2GB file support
52 MACRO SQLITE_DISABLE_LFS
55 MACRO SQLITE_DEFAULT_AUTOVACUUM=1
57 //Default cache page size in bytes
58 MACRO SQLITE_DEFAULT_PAGE_SIZE=1024
60 //Max cache page size in bytes
61 MACRO SQLITE_MAX_PAGE_SIZE=32768
63 //Default page cache size in pages, each of SQLITE_DEFAULT_PAGE_SIZE size
64 MACRO SQLITE_DEFAULT_CACHE_SIZE=64
66 //Default temporary page cache size in pages, each of SQLITE_DEFAULT_PAGE_SIZE size
67 MACRO SQLITE_DEFAULT_TEMP_CACHE_SIZE=32
69 //Temporary files - in memory only
70 MACRO SQLITE_TEMP_STORE=3
72 //Omit the capability to issue "progress" callbacks during long-running SQL statements
73 MACRO SQLITE_OMIT_PROGRESS_CALLBACK=1
76 MACRO SQLITE_OMIT_VIRTUALTABLE=1
78 //No SQLITE extensions
79 MACRO SQLITE_OMIT_LOAD_EXTENSION=1
81 //Disables SQL statements tracing. Causes a linker error if enabled - ARM4, UREL build.
82 //(Vdbeapi.c, "undefined reference to `__fixunsdfdi'",
83 // the line is: "elapseTime = (rNow - (int)rNow)*3600.0*24.0*1000000000.0 - p->startTime;"
84 // there is no convertion function for "double -> uinsigned long long" cast)
85 MACRO SQLITE_OMIT_TRACE=1
87 //Enable sqlite debugging
96 MACRO SQLITE_CRASH_TEST=1
100 MACRO SQLITE_NO_SYNC=1
102 MACRO SQLITE_MEMDEBUG=1