Update contrib.
1 // Copyright (c) 2006-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.lib Database management - SQLite library. Common
15 // sqlite macro definitions.
24 MACRO SQLITE_OS_OTHER=1
25 MACRO SQLITE_OS_SYMBIAN=1
27 //The SQLite initialization will be made explicitly inside the sqlite3SymbianLibInit() function implementation
28 MACRO SQLITE_OMIT_AUTOINIT=1
30 //Symbian - memory allocation functions
31 MACRO malloc=sqlite3SymbianMalloc
32 MACRO free=sqlite3SymbianFree
33 MACRO realloc=sqlite3SymbianRealloc
35 //Disable the built-in test code
36 MACRO SQLITE_OMIT_BUILTIN_TEST
38 //The default SQLITE_MAX_COLUMN value is 2000. It causes regression test failures.
39 MACRO SQLITE_MAX_COLUMN=4096
41 //The default SQLITE_MAX_LENGTH value is 1000000000. It causes an artificial limit on the size of a BLOB object
42 MACRO SQLITE_MAX_LENGTH=2147483647
44 //The default SQLITE_MAX_EXPR_DEPTH value is 1000. It causes regression test failures.
45 MACRO SQLITE_MAX_EXPR_DEPTH=250
47 //The default SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT value is -1 - no journal size limit.
48 MACRO SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT=65536
50 //Set the locking mode to be EXCLUSIVE by default
51 MACRO SQLITE_DEFAULT_LOCKING_MODE=1
53 //No mutexes. SQLITE_MUTEX_NOOP should not be used here. Its value will be defined automatically by SQLite.
54 MACRO SQLITE_THREADSAFE=0
56 //Enable memory management
57 MACRO SQLITE_ENABLE_MEMORY_MANAGEMENT=1
59 //Vacuum mode = incremental
60 MACRO SQLITE_DEFAULT_AUTOVACUUM=2
62 //Default cache page size in bytes
63 MACRO SQLITE_DEFAULT_PAGE_SIZE=1024
65 //Max cache page size in bytes
66 MACRO SQLITE_MAX_PAGE_SIZE=32768
68 //Default page cache size in pages, each of SQLITE_DEFAULT_PAGE_SIZE size
69 MACRO SQLITE_DEFAULT_CACHE_SIZE=1024
71 //Default temporary page cache size in pages, each of SQLITE_DEFAULT_PAGE_SIZE size
72 MACRO SQLITE_DEFAULT_TEMP_CACHE_SIZE=32
74 //Temporary files - in memory only
75 MACRO SQLITE_TEMP_STORE=3
77 //Omit the capability to issue "progress" callbacks during long-running SQL statements
78 MACRO SQLITE_OMIT_PROGRESS_CALLBACK=1
81 MACRO SQLITE_OMIT_VIRTUALTABLE=1
83 //No SQLITE extensions
84 MACRO SQLITE_OMIT_LOAD_EXTENSION=1
86 //The maximum value of a host parameter number (the default value is 999)
87 MACRO SQLITE_MAX_VARIABLE_NUMBER=32767
89 //Disables SQL statements tracing. Causes a linker error if enabled - ARM4, UREL build.
90 //(Vdbeapi.c, "undefined reference to `__fixunsdfdi'",
91 // the line is: "elapseTime = (rNow - (int)rNow)*3600.0*24.0*1000000000.0 - p->startTime;"
92 // there is no convertion function for "double -> uinsigned long long" cast)
93 MACRO SQLITE_OMIT_TRACE=1
95 #if defined WINS || defined WINSCW
97 //Enable sqlite debugging
100 #endif //end of "#if defined WINS || defined WINSCW"