[Mono-bugs] [Bug 642527] New: OracleDataReader.HasRows returns True if there is no result

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 29 06:40:14 EDT 2010



           Summary: OracleDataReader.HasRows returns True if there is no
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Data
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: avkekem at hotmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Created an attachment (id=392078)
 --> (http://bugzilla.novell.com/attachment.cgi?id=392078)
Testcase running using 'csharp' command. (note: change the connectionstring for
your situation)

Description of Problem:

Steps to reproduce the problem:
1. run the attachment using csharp command
2. first console writeline shows the hasrows flag on a command which returns

Actual Results:
HasRows returns true, but no records are returned.
(DataReader.Read() is correct, this returns false!)

Expected Results:
When executing a query returning 0 records, HasRows should be false.

How often does this happen? 

Additional Information:

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list