System.Data.SQLite
Check-in [8195809af1]
Not logged in

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

Overview
Comment:Compilation fixes for the debug build.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8195809af14516ba1512981feac391508375e30f
User & Date: mistachkin 2015-08-15 17:08:07
Context
2015-08-15
17:08
Coding style and comment tweaks. check-in: 5c8e02eb62 user: mistachkin tags: trunk
17:08
Compilation fixes for the debug build. check-in: 8195809af1 user: mistachkin tags: trunk
06:38
Update Eagle in externals to the pre-beta 34 release code. check-in: ecd546a7a7 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

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

  3026   3026                   if (localHandle != IntPtr.Zero)
  3027   3027                       SQLiteBase.CloseConnection(this, localHandle);
  3028   3028   #endif
  3029   3029   
  3030   3030   #if !NET_COMPACT_20 && TRACE_HANDLE
  3031   3031                   try
  3032   3032                   {
  3033         -                    Trace.WriteLine(StringFormat(
         3033  +                    Trace.WriteLine(UnsafeNativeMethods.StringFormat(
  3034   3034                           CultureInfo.CurrentCulture,
  3035   3035                           "CloseConnection: {0}", localHandle)); /* throw */
  3036   3036                   }
  3037   3037                   catch
  3038   3038                   {
  3039   3039                   }
  3040   3040   #endif
................................................................................
  3061   3061   #else
  3062   3062               catch (SQLiteException)
  3063   3063   #endif
  3064   3064               {
  3065   3065   #if !NET_COMPACT_20 && TRACE_HANDLE
  3066   3066                   try
  3067   3067                   {
  3068         -                    Trace.WriteLine(StringFormat(
         3068  +                    Trace.WriteLine(UnsafeNativeMethods.StringFormat(
  3069   3069                           CultureInfo.CurrentCulture,
  3070   3070                           "CloseConnection: {0}, exception: {1}",
  3071   3071                           handle, e)); /* throw */
  3072   3072                   }
  3073   3073                   catch
  3074   3074                   {
  3075   3075                   }
................................................................................
  3214   3214   
  3215   3215                   if (localHandle != IntPtr.Zero)
  3216   3216                       SQLiteBase.FinalizeStatement(cnn, localHandle);
  3217   3217   
  3218   3218   #if !NET_COMPACT_20 && TRACE_HANDLE
  3219   3219                   try
  3220   3220                   {
  3221         -                    Trace.WriteLine(StringFormat(
         3221  +                    Trace.WriteLine(UnsafeNativeMethods.StringFormat(
  3222   3222                           CultureInfo.CurrentCulture,
  3223   3223                           "FinalizeStatement: {0}", localHandle)); /* throw */
  3224   3224                   }
  3225   3225                   catch
  3226   3226                   {
  3227   3227                   }
  3228   3228   #endif
................................................................................
  3249   3249   #else
  3250   3250               catch (SQLiteException)
  3251   3251   #endif
  3252   3252               {
  3253   3253   #if !NET_COMPACT_20 && TRACE_HANDLE
  3254   3254                   try
  3255   3255                   {
  3256         -                    Trace.WriteLine(StringFormat(
         3256  +                    Trace.WriteLine(UnsafeNativeMethods.StringFormat(
  3257   3257                           CultureInfo.CurrentCulture,
  3258   3258                           "FinalizeStatement: {0}, exception: {1}",
  3259   3259                           handle, e)); /* throw */
  3260   3260                   }
  3261   3261                   catch
  3262   3262                   {
  3263   3263                   }
................................................................................
  3387   3387   
  3388   3388                   if (localHandle != IntPtr.Zero)
  3389   3389                       SQLiteBase.FinishBackup(cnn, localHandle);
  3390   3390   
  3391   3391   #if !NET_COMPACT_20 && TRACE_HANDLE
  3392   3392                   try
  3393   3393                   {
  3394         -                    Trace.WriteLine(StringFormat(
         3394  +                    Trace.WriteLine(UnsafeNativeMethods.StringFormat(
  3395   3395                           CultureInfo.CurrentCulture,
  3396   3396                           "FinishBackup: {0}", localHandle)); /* throw */
  3397   3397                   }
  3398   3398                   catch
  3399   3399                   {
  3400   3400                   }
  3401   3401   #endif
................................................................................
  3422   3422   #else
  3423   3423               catch (SQLiteException)
  3424   3424   #endif
  3425   3425               {
  3426   3426   #if !NET_COMPACT_20 && TRACE_HANDLE
  3427   3427                   try
  3428   3428                   {
  3429         -                    Trace.WriteLine(StringFormat(
         3429  +                    Trace.WriteLine(UnsafeNativeMethods.StringFormat(
  3430   3430                           CultureInfo.CurrentCulture,
  3431   3431                           "FinishBackup: {0}, exception: {1}",
  3432   3432                           handle, e)); /* throw */
  3433   3433                   }
  3434   3434                   catch
  3435   3435                   {
  3436   3436                   }