System.Data.SQLite

Check-in [6751277128]
Login

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

Overview
Comment:Fix HasRows() bug
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | sourceforge
Files: files | file ages | folders
SHA1: 67512771289d4df3cb93c1a2f6e6e3931a9c2d4d
User & Date: rmsimpson 2005-12-19 20:45:46.000
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
Unified Diff Ignore Whitespace Patch
Changes to System.Data.SQLite/SQLiteDataReader.cs.
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
    /// Returns True if the resultset has rows that can be fetched
    /// </summary>
    public override bool HasRows
    {
      get
      {
        CheckClosed();
        return (_readingState != 2);
      }
    }

    /// <summary>
    /// Returns True if the data reader is closed
    /// </summary>
    public override bool IsClosed







|







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

    /// <summary>
    /// Returns True if the data reader is closed
    /// </summary>
    public override bool IsClosed