System.Data.SQLite
Check-in [72b0eea67d]
Not logged in

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

Overview
SHA1 Hash:72b0eea67d1636e44ee2d7e1a2b1627d0d0645c6
Date: 2012-04-07 22:26:58
User: mistachkin
Comment:Correct typos in comments. Skip null entries in the define constants list.
Tags And Properties
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to SQLite.NET.Settings.targets

   122    122                 processor architecture of the currently running process upon using
   123    123                 the component.  This feature is experimental and may be modified
   124    124                 or removed in a future release.
   125    125       -->
   126    126       <PreLoadNativeLibrary Condition="'$(PreLoadNativeLibrary)' == ''">true</PreLoadNativeLibrary>
   127    127   
   128    128       <!--
   129         -        NOTE: Enable using the "well-known" extension functions form the custom
          129  +        NOTE: Enable using the "well-known" extension functions from the custom
   130    130                 built interop DLL (i.e. "SQLite.Interop.dll")?  By default, this
   131    131                 is enabled.  If this is disabled, the "well-known" extension
   132    132                 functions will be unavailable.  If this is enabled, it must also
   133    133                 be enabled via the "INTEROP_EXTENSION_FUNCTIONS=1" preprocessor
   134    134                 define being present in the "INTEROP_EXTRA_DEFINES" macro in the
   135    135                 build properties file:
   136    136   
................................................................................
   137    137                     "SQLite.Interop\props\SQLite.Interop.20XX.[vs]props"
   138    138   
   139    139                 for the corresponding version(s) of Visual Studio.
   140    140       -->
   141    141       <InteropExtensionFunctions Condition="'$(InteropExtensionFunctions)' == ''">true</InteropExtensionFunctions>
   142    142   
   143    143       <!--
   144         -        NOTE: Enable exposing the CryptoAPI based codec form the custom built
          144  +        NOTE: Enable exposing the CryptoAPI based codec from the custom built
   145    145                 interop DLL (i.e. "SQLite.Interop.dll")?  By default, this is
   146    146                 enabled.  If this is disabled, support for encrypted databases
   147    147                 will be unavailable.  If this is enabled, it must also be enabled
   148    148                 via the "SQLITE_HAS_CODEC=1" preprocessor define being present in
   149    149                 the "SQLITE_EXTRA_DEFINES" macro in the build properties file:
   150    150   
   151    151                     "SQLite.Interop\props\sqlite3.[vs]props"

Changes to System.Data.SQLite/SQLite3.cs

   150    150               StringBuilder result = new StringBuilder();
   151    151               IList<string> list = SQLiteDefineConstants.OptionList;
   152    152   
   153    153               if (list != null)
   154    154               {
   155    155                   foreach (string element in list)
   156    156                   {
          157  +                    if (element == null)
          158  +                        continue;
          159  +
   157    160                       if (result.Length > 0)
   158    161                           result.Append(' ');
   159    162   
   160    163                       result.Append(element);
   161    164                   }
   162    165               }
   163    166