System.Data.SQLite
Check-in [528007e621]
Not logged in

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

Overview
Comment:Improve coding style in the CountParents method.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | nextRelease
Files: files | file ages | folders
SHA1: 528007e6213ed5ce8b435ed54f7acbe2cfd8422b
User & Date: mistachkin 2015-03-04 19:42:01
Context
2015-03-04
19:48
Update release date for 1.0.96.0. check-in: 80b6dda010 user: mistachkin tags: nextRelease
19:42
Improve coding style in the CountParents method. check-in: 528007e621 user: mistachkin tags: nextRelease
2015-03-03
03:15
Update Eagle script library in externals to the latest trunk code. check-in: 12a71d6811 user: mistachkin tags: nextRelease
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

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

   916    916           if (parentToColumns != null)
   917    917           {
   918    918               foreach (ColumnParent key in parentToColumns.Keys)
   919    919               {
   920    920                   if (key == null)
   921    921                       continue;
   922    922   
   923         -                if (String.IsNullOrEmpty(key.TableName))
          923  +                string tableName = key.TableName;
          924  +
          925  +                if (String.IsNullOrEmpty(tableName))
   924    926                       continue;
   925    927   
   926    928                   result++;
   927    929               }
   928    930           }
   929    931   
   930    932           return result;