https://bugzilla.novell.com/show_bug.cgi?id=642527

https://bugzilla.novell.com/show_bug.cgi?id=642527#c0


           Summary: OracleDataReader.HasRows returns True if there is no
                    result
    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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          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
nothing. 


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? 
always

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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to