System.Data.SQLite
Check-in [03add76ac4]
Not logged in

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

Overview
Comment:Fix compilation issue for the .NET Compact Framework version included with Visual Studio 2005.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 03add76ac4110987b9e209f7fc825242a3f5adfe
User & Date: mistachkin 2013-01-10 16:04:23
Context
2013-01-16
23:49
Add interop test SQL function to sleep for X milliseconds. check-in: da3460c70f user: mistachkin tags: trunk
2013-01-10
16:04
Fix compilation issue for the .NET Compact Framework version included with Visual Studio 2005. check-in: 03add76ac4 user: mistachkin tags: trunk
2013-01-09
22:14
Update downloads page for release 1.0.84.0. check-in: 8804f074eb user: mistachkin tags: trunk, release, release-1.0.84.0
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

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

     1      1   /********************************************************
     2      2    * ADO.NET 2.0 Data Provider for SQLite Version 3.X
     3      3    * Written by Robert Simpson (robert@blackcastlesoft.com)
     4         - * 
            4  + *
     5      5    * Released to the public domain, use at your own risk!
     6      6    ********************************************************/
     7      7   
     8      8   namespace System.Data.SQLite
     9      9   {
    10     10     using System;
    11     11     using System.Data.Common;
................................................................................
   180    180       private static string GetStockErrorMessage(
   181    181           SQLiteErrorCode errorCode,
   182    182           string message
   183    183           )
   184    184       {
   185    185           return String.Format("{0}{1}{2}",
   186    186               GetErrorString(errorCode),
          187  +#if !NET_COMPACT_20
   187    188               Environment.NewLine, message).Trim();
          189  +#else
          190  +            "\r\n", message).Trim();
          191  +#endif
   188    192       }
   189    193     }
   190    194   
   191    195     /// <summary>
   192    196     /// SQLite error codes.  Actually, this enumeration represents a return code,
   193    197     /// which may also indicate success in one of several ways (e.g. SQLITE_OK,
   194    198     /// SQLITE_ROW, and SQLITE_DONE).  Therefore, the name of this enumeration is