System.Data.SQLite
Check-in [eccc3a0571]
Not logged in

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: eccc3a05714206e00fe645d814c0566fda72d8d6
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
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

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

  2710   2710               throw new InvalidOperationException("Database connection not valid for shutdown.");
  2711   2711   
  2712   2712           _sql.Close(true); /* NOTE: MUST be closed before shutdown. */
  2713   2713           SQLiteErrorCode rc = _sql.Shutdown();
  2714   2714   
  2715   2715   #if !NET_COMPACT_20 && TRACE_CONNECTION
  2716   2716           if (rc != SQLiteErrorCode.Ok)
  2717         -            Trace.WriteLine(String.Format("Shutdown (Instance) Failed: {0}", rc));
         2717  +            System.Diagnostics.Trace.WriteLine(String.Format("Shutdown (Instance) Failed: {0}", rc));
  2718   2718   #endif
  2719   2719   
  2720   2720           return rc;
  2721   2721       }
  2722   2722   
  2723   2723       /// <summary>
  2724   2724       /// Passes a shutdown request to the SQLite core library.  Throws an
................................................................................
  2738   2738           )
  2739   2739       {
  2740   2740           SQLiteErrorCode rc = SQLite3.StaticShutdown(directories);
  2741   2741   
  2742   2742           if (rc != SQLiteErrorCode.Ok)
  2743   2743           {
  2744   2744   #if !NET_COMPACT_20 && TRACE_CONNECTION
  2745         -            Trace.WriteLine(String.Format("Shutdown (Static) Failed: {0}", rc));
         2745  +            System.Diagnostics.Trace.WriteLine(String.Format("Shutdown (Static) Failed: {0}", rc));
  2746   2746   #endif
  2747   2747   
  2748   2748               if (!noThrow)
  2749   2749                   throw new SQLiteException(rc, null);
  2750   2750           }
  2751   2751       }
  2752   2752