System.Data.SQLite
Check-in [3d042d498c]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Revise how the SEE and CEROD extensions are included, when applicable.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3d042d498ce8d386fd654ecab0bdfca697173425
User & Date: mistachkin 2015-02-12 20:42:14
Context
2015-02-12
23:53
Add PrepareRetries connection string property to allow the maximum number of retries when preparing a query to be overridden. Fix for [647d282d11]. check-in: 39f91f897d user: mistachkin tags: trunk
20:42
Revise how the SEE and CEROD extensions are included, when applicable. check-in: 3d042d498c user: mistachkin tags: trunk
18:56
Reset build patch-levels. check-in: a223e3baf3 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to SQLite.Interop/src/win/interop.c.

     4      4    *
     5      5    * Released to the public domain, use at your own risk!
     6      6    ********************************************************/
     7      7   
     8      8   #define SQLITE_API __declspec(dllexport)
     9      9   
    10     10   #include "../core/sqlite3.c"
           11  +
           12  +#if defined(INTEROP_INCLUDE_CEROD)
           13  +#include "../ext/cerod.c"
           14  +#endif
           15  +
           16  +#if defined(INTEROP_INCLUDE_SEE)
           17  +#include "../ext/see.c"
           18  +#endif
    11     19   
    12     20   #if defined(INTEROP_VIRTUAL_TABLE) && SQLITE_VERSION_NUMBER >= 3004001
    13     21   #include "../ext/vtshim.c"
    14     22   #endif
    15     23   
    16     24   #if defined(INTEROP_PERCENTILE_EXTENSION)
    17     25   #include "../ext/percentile.c"
................................................................................
    27     35   
    28     36   #if defined(INTEROP_EXTENSION_FUNCTIONS)
    29     37   #include "../contrib/extension-functions.c"
    30     38   extern int RegisterExtensionFunctions(sqlite3 *db);
    31     39   #endif
    32     40   
    33     41   #if defined(SQLITE_OS_WIN)
    34         -#if defined(INTEROP_CODEC)
           42  +#if defined(INTEROP_CODEC) && !defined(INTEROP_INCLUDE_SEE)
    35     43   #include "crypt.c"
    36         -#elif defined(INTEROP_INCLUDE_SEE)
    37         -#include "../ext/see.c"
    38         -#elif defined(INTEROP_INCLUDE_CEROD)
    39         -#include "../ext/cerod.c"
    40     44   #endif
    41     45   
    42     46   #include "interop.h"
    43     47   
    44     48   #define INTEROP_DEBUG_NONE           (0x0000)
    45     49   #define INTEROP_DEBUG_CLOSE          (0x0001)
    46     50   #define INTEROP_DEBUG_FINALIZE       (0x0002)