System.Data.SQLite
Check-in [024679a92b]
Not logged in

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

Overview
Comment:Compilation fix for the RELEASE build configuration.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 024679a92b1e91b7e30478e577c14b2a8115e9a4
User & Date: mistachkin 2016-03-23 23:40:45
Context
2016-03-24
01:30
Make the test for ticket [393d954be0] portable to Mono. check-in: 0ba5e9043b user: mistachkin tags: trunk
00:27
Merge updates from trunk. check-in: bb297a629d user: mistachkin tags: core312
2016-03-23
23:40
Compilation fix for the RELEASE build configuration. check-in: 024679a92b user: mistachkin tags: trunk
23:35
Move some things out of the UnsafeNativeMethods class. There are several reasons: 1) easier to maintain. 2) avoiding static call graph issues with CriticalHandle. 3) better separation of cross-platform and platform-specific code. check-in: d3e312825a user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

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

    80     80   #endif
    81     81         #endregion
    82     82         #endregion
    83     83   
    84     84         /////////////////////////////////////////////////////////////////////////
    85     85   
    86     86         #region Public Methods
           87  +#if DEBUG
    87     88         /// <summary>
    88     89         /// Creates the dictionary used to store the read counts for each of the
    89     90         /// runtime configuration settings.  These numbers are used for debugging
    90     91         /// and testing purposes only.
    91     92         /// </summary>
    92     93         public static void InitializeSettingReadCounts()
    93     94         {
................................................................................
   128    129                     if (settingReadCounts.TryGetValue(name, out count))
   129    130                           settingReadCounts[name] = count + 1;
   130    131                     else
   131    132                           settingReadCounts.Add(name, 1);
   132    133                 }
   133    134             }
   134    135         }
          136  +#endif
   135    137         #endregion
   136    138     }
   137    139   #endif
   138    140     #endregion
   139    141   
   140    142     /////////////////////////////////////////////////////////////////////////////
   141    143