System.Data.SQLite

Check-in [0bcca49374]
Login

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

Overview
Comment:The IDataReader.GetOrdinal method should not throw 'no current row' exceptions. Fix for [c28d7fe915].
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | nextRelease
Files: files | file ages | folders
SHA1: 0bcca493741a66890defc1dad10898a0d7c7c7e4
User & Date: mistachkin 2015-03-02 17:40:24.857
Context
2015-03-02
18:48
Update version history docs. Bump all versions to 1.0.96.0. check-in: d53f664e70 user: mistachkin tags: nextRelease
17:40
The IDataReader.GetOrdinal method should not throw 'no current row' exceptions. Fix for [c28d7fe915]. check-in: 0bcca49374 user: mistachkin tags: nextRelease
2015-02-28
07:32
Final updates for release 1.0.95.0. check-in: 42c8a4f285 user: mistachkin tags: trunk, release, release-1.0.95.0
Changes
Unified Diff Ignore Whitespace Patch
Changes to System.Data.SQLite/SQLiteDataReader.cs.
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
    /// Retrieves the i of a column, given its name
    /// </summary>
    /// <param name="name">The name of the column to retrieve</param>
    /// <returns>The int i of the column</returns>
    public override int GetOrdinal(string name)
    {
      CheckDisposed();
      VerifyForGet();

      if (_throwOnDisposed) SQLiteCommand.Check(_command);

      //
      // NOTE: First, check if the column name cache has been initialized yet.
      //       If not, do it now.
      //







<







723
724
725
726
727
728
729

730
731
732
733
734
735
736
    /// Retrieves the i of a column, given its name
    /// </summary>
    /// <param name="name">The name of the column to retrieve</param>
    /// <returns>The int i of the column</returns>
    public override int GetOrdinal(string name)
    {
      CheckDisposed();


      if (_throwOnDisposed) SQLiteCommand.Check(_command);

      //
      // NOTE: First, check if the column name cache has been initialized yet.
      //       If not, do it now.
      //