Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix compilation error due to the 'Trace' identifier being ambiguous in the SQLiteConnection class. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | win32heap |
Files: | files | file ages | folders |
SHA1: |
eccc3a05714206e00fe645d814c0566f |
User & Date: | mistachkin 2013-11-09 23:36:24 |
Context
2013-11-09
| ||
23:39 | Update SQLite core library to the latest trunk code. check-in: f9462b7d6a user: mistachkin tags: win32heap | |
23:36 | Fix compilation error due to the 'Trace' identifier being ambiguous in the SQLiteConnection class. check-in: eccc3a0571 user: mistachkin tags: win32heap | |
2013-11-08
| ||
20:28 | Update SQLite core library to the latest trunk code. Add experimental support for tighter Win32 native heap integration. check-in: ed1309f951 user: mistachkin tags: win32heap | |
Changes
Changes to System.Data.SQLite/SQLiteConnection.cs.
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
....
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
|
throw new InvalidOperationException("Database connection not valid for shutdown.");
_sql.Close(true); /* NOTE: MUST be closed before shutdown. */
SQLiteErrorCode rc = _sql.Shutdown();
#if !NET_COMPACT_20 && TRACE_CONNECTION
if (rc != SQLiteErrorCode.Ok)
Trace.WriteLine(String.Format("Shutdown (Instance) Failed: {0}", rc));
#endif
return rc;
}
/// <summary>
/// Passes a shutdown request to the SQLite core library. Throws an
................................................................................
)
{
SQLiteErrorCode rc = SQLite3.StaticShutdown(directories);
if (rc != SQLiteErrorCode.Ok)
{
#if !NET_COMPACT_20 && TRACE_CONNECTION
Trace.WriteLine(String.Format("Shutdown (Static) Failed: {0}", rc));
#endif
if (!noThrow)
throw new SQLiteException(rc, null);
}
}
|
|
|
|
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
....
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
|
throw new InvalidOperationException("Database connection not valid for shutdown."); _sql.Close(true); /* NOTE: MUST be closed before shutdown. */ SQLiteErrorCode rc = _sql.Shutdown(); #if !NET_COMPACT_20 && TRACE_CONNECTION if (rc != SQLiteErrorCode.Ok) System.Diagnostics.Trace.WriteLine(String.Format("Shutdown (Instance) Failed: {0}", rc)); #endif return rc; } /// <summary> /// Passes a shutdown request to the SQLite core library. Throws an ................................................................................ ) { SQLiteErrorCode rc = SQLite3.StaticShutdown(directories); if (rc != SQLiteErrorCode.Ok) { #if !NET_COMPACT_20 && TRACE_CONNECTION System.Diagnostics.Trace.WriteLine(String.Format("Shutdown (Static) Failed: {0}", rc)); #endif if (!noThrow) throw new SQLiteException(rc, null); } } |