System.Data.SQLite
Check-in [562a31fa49]
Not logged in

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

Overview
Comment:Adjust one #if directive in the SQLiteConnection class to explicitly exclude the .NET Compact Framework.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 562a31fa49e881d7ea799903c4cd0a64a6545021
User & Date: mistachkin 2013-02-12 10:51:01
Context
2013-02-13
03:06
Revise docs on how to obtain the source code. check-in: c13ff09745 user: mistachkin tags: trunk
2013-02-12
10:51
Adjust one #if directive in the SQLiteConnection class to explicitly exclude the .NET Compact Framework. check-in: 562a31fa49 user: mistachkin tags: trunk
10:45
Enable use of the SQLiteLog class when running on the .NET Compact Framework. check-in: 7d84579756 user: mistachkin tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to System.Data.SQLite/SQLiteConnection.cs.

484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
      UnsafeNativeMethods.Initialize();
#endif

#if !INTEROP_LOG
      SQLiteLog.Initialize();
#endif

#if SQLITE_STANDARD
      //
      // NOTE: Check if the sqlite3_close_v2() native API should be available
      //       to use.  This must be done dynamically because the delegate set
      //       here is used by the SQLiteConnectionHandle class, which is a
      //       CriticalHandle derived class (i.e. protected by a constrained
      //       execution region).  Therefore, if the underlying native entry
      //       point is unavailable, an exception will be raised even if it is







|







484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
      UnsafeNativeMethods.Initialize();
#endif

#if !INTEROP_LOG
      SQLiteLog.Initialize();
#endif

#if !PLATFORM_COMPACTFRAMEWORK && SQLITE_STANDARD
      //
      // NOTE: Check if the sqlite3_close_v2() native API should be available
      //       to use.  This must be done dynamically because the delegate set
      //       here is used by the SQLiteConnectionHandle class, which is a
      //       CriticalHandle derived class (i.e. protected by a constrained
      //       execution region).  Therefore, if the underlying native entry
      //       point is unavailable, an exception will be raised even if it is