sl@0: // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // SQLite.lib Database management - SQLite library. Common sl@0: // sqlite macro definitions. sl@0: // sl@0: // sl@0: sl@0: /** sl@0: @file sl@0: */ sl@0: sl@0: //Symbian OS port sl@0: MACRO SQLITE_OS_OTHER=1 sl@0: MACRO SQLITE_OS_SYMBIAN=1 sl@0: sl@0: //The SQLite initialization will be made explicitly inside the sqlite3SymbianLibInit() function implementation sl@0: MACRO SQLITE_OMIT_AUTOINIT=1 sl@0: sl@0: //Symbian - memory allocation functions sl@0: MACRO malloc=sqlite3SymbianMalloc sl@0: MACRO free=sqlite3SymbianFree sl@0: MACRO realloc=sqlite3SymbianRealloc sl@0: sl@0: //Disable the built-in test code sl@0: MACRO SQLITE_OMIT_BUILTIN_TEST sl@0: sl@0: //The default SQLITE_MAX_COLUMN value is 2000. It causes regression test failures. sl@0: MACRO SQLITE_MAX_COLUMN=4096 sl@0: sl@0: //The default SQLITE_MAX_LENGTH value is 1000000000. It causes an artificial limit on the size of a BLOB object sl@0: MACRO SQLITE_MAX_LENGTH=2147483647 sl@0: sl@0: //The default SQLITE_MAX_EXPR_DEPTH value is 1000. It causes regression test failures. sl@0: MACRO SQLITE_MAX_EXPR_DEPTH=250 sl@0: sl@0: //The default SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT value is -1 - no journal size limit. sl@0: MACRO SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT=65536 sl@0: sl@0: //Set the locking mode to be EXCLUSIVE by default sl@0: MACRO SQLITE_DEFAULT_LOCKING_MODE=1 sl@0: sl@0: //No mutexes. SQLITE_MUTEX_NOOP should not be used here. Its value will be defined automatically by SQLite. sl@0: MACRO SQLITE_THREADSAFE=0 sl@0: sl@0: //Enable memory management sl@0: MACRO SQLITE_ENABLE_MEMORY_MANAGEMENT=1 sl@0: sl@0: //Vacuum mode = incremental sl@0: MACRO SQLITE_DEFAULT_AUTOVACUUM=2 sl@0: sl@0: //Default cache page size in bytes sl@0: MACRO SQLITE_DEFAULT_PAGE_SIZE=1024 sl@0: sl@0: //Max cache page size in bytes sl@0: MACRO SQLITE_MAX_PAGE_SIZE=32768 sl@0: sl@0: //Default page cache size in pages, each of SQLITE_DEFAULT_PAGE_SIZE size sl@0: MACRO SQLITE_DEFAULT_CACHE_SIZE=1024 sl@0: sl@0: //Default temporary page cache size in pages, each of SQLITE_DEFAULT_PAGE_SIZE size sl@0: MACRO SQLITE_DEFAULT_TEMP_CACHE_SIZE=32 sl@0: sl@0: //Temporary files - in memory only sl@0: MACRO SQLITE_TEMP_STORE=3 sl@0: sl@0: //Omit the capability to issue "progress" callbacks during long-running SQL statements sl@0: MACRO SQLITE_OMIT_PROGRESS_CALLBACK=1 sl@0: sl@0: //No virtual tables sl@0: MACRO SQLITE_OMIT_VIRTUALTABLE=1 sl@0: sl@0: //No SQLITE extensions sl@0: MACRO SQLITE_OMIT_LOAD_EXTENSION=1 sl@0: sl@0: //The maximum value of a host parameter number (the default value is 999) sl@0: MACRO SQLITE_MAX_VARIABLE_NUMBER=32767 sl@0: sl@0: //Disables SQL statements tracing. Causes a linker error if enabled - ARM4, UREL build. sl@0: //(Vdbeapi.c, "undefined reference to `__fixunsdfdi'", sl@0: // the line is: "elapseTime = (rNow - (int)rNow)*3600.0*24.0*1000000000.0 - p->startTime;" sl@0: // there is no convertion function for "double -> uinsigned long long" cast) sl@0: MACRO SQLITE_OMIT_TRACE=1 sl@0: sl@0: #if defined WINS || defined WINSCW sl@0: sl@0: //Enable sqlite debugging sl@0: MACRO SQLITE_DEBUG sl@0: sl@0: #endif //end of "#if defined WINS || defined WINSCW"