System.Data.SQLite
Check-in [6751277128]
Not logged in

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

Overview
Comment:Fix HasRows() bug
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | sourceforge
Files: files | file ages | folders
SHA1: 67512771289d4df3cb93c1a2f6e6e3931a9c2d4d
User & Date: rmsimpson 2005-12-19 20:45:46
Context
2005-12-19
20:46
Use a filter to retrieve attributes check-in: 33bc5a13c8 user: rmsimpson tags: sourceforge
20:45
Fix HasRows() bug check-in: 6751277128 user: rmsimpson tags: sourceforge
17:57
Code merge with 3.2.8 check-in: 3ab3870f3b user: rmsimpson tags: sourceforge
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

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

   623    623       /// Returns True if the resultset has rows that can be fetched
   624    624       /// </summary>
   625    625       public override bool HasRows
   626    626       {
   627    627         get
   628    628         {
   629    629           CheckClosed();
   630         -        return (_readingState != 2);
          630  +        return (_readingState < 2);
   631    631         }
   632    632       }
   633    633   
   634    634       /// <summary>
   635    635       /// Returns True if the data reader is closed
   636    636       /// </summary>
   637    637       public override bool IsClosed