os/persistentdata/persistentstorage/sqlite3api/GROUP/tclsqlite3_macro.mmh
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // SQLite C API test application. Build-time macros.
    15 // 
    16 //
    17 
    18 /**
    19  @file
    20 */
    21 
    22 //Symbian OS port
    23 MACRO SQLITE_OS_OTHER=1
    24 MACRO SQLITE_OS_SYMBIAN=1
    25 
    26 //The default SQLITE_MAX_COLUMN value is 2000. It causes regression test failures.
    27 MACRO SQLITE_MAX_COLUMN=4096
    28 
    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
    31 
    32 //The default SQLITE_MAX_EXPR_DEPTH value is 1000. It causes regression test failures (stack overflow).
    33 MACRO SQLITE_MAX_EXPR_DEPTH=250
    34 
    35 //The default SQLITE_MAX_COMPOUND_SELECT value is 500. It causes regression test failures (stack overflow).
    36 MACRO SQLITE_MAX_COMPOUND_SELECT=50
    37 
    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
    41 
    42 //Set the locking mode to be NORMAL by default
    43 MACRO SQLITE_DEFAULT_LOCKING_MODE=0
    44 
    45 //Multi-threaded release. The database handles cannot be shared between threads.
    46 MACRO SQLITE_THREADSAFE=2
    47 
    48 //Enable memory management
    49 MACRO SQLITE_ENABLE_MEMORY_MANAGEMENT=1
    50 
    51 //Disable >2GB file support
    52 MACRO SQLITE_DISABLE_LFS
    53 
    54 //Vacuum mode = auto
    55 MACRO SQLITE_DEFAULT_AUTOVACUUM=1
    56 
    57 //Default cache page size in bytes
    58 MACRO SQLITE_DEFAULT_PAGE_SIZE=1024
    59 
    60 //Max cache page size in bytes
    61 MACRO SQLITE_MAX_PAGE_SIZE=32768
    62 
    63 //Default page cache size in pages, each of SQLITE_DEFAULT_PAGE_SIZE size
    64 MACRO SQLITE_DEFAULT_CACHE_SIZE=64
    65 
    66 //Default temporary page cache size in pages, each of SQLITE_DEFAULT_PAGE_SIZE size
    67 MACRO SQLITE_DEFAULT_TEMP_CACHE_SIZE=32
    68 
    69 //Temporary files - in memory only
    70 MACRO SQLITE_TEMP_STORE=3
    71 
    72 //Omit the capability to issue "progress" callbacks during long-running SQL statements
    73 MACRO SQLITE_OMIT_PROGRESS_CALLBACK=1
    74 
    75 //No virtual tables
    76 MACRO SQLITE_OMIT_VIRTUALTABLE=1
    77 
    78 //No SQLITE extensions
    79 MACRO SQLITE_OMIT_LOAD_EXTENSION=1
    80 
    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
    86 
    87 //Enable sqlite debugging
    88 MACRO SQLITE_DEBUG=1
    89 
    90 MACRO TCLSH=1
    91 
    92 MACRO SQLITE_TEST=1
    93 
    94 MACRO SQLITE_CORE
    95 
    96 MACRO SQLITE_CRASH_TEST=1
    97 
    98 MACRO SQLITE_SERVER=1
    99 
   100 MACRO SQLITE_NO_SYNC=1
   101 
   102 MACRO SQLITE_MEMDEBUG=1