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

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=381151#c8


Veerapuram Varadhan <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|REOPENED                                        |NEEDINFO
      Info Provider|                                                |[EMAIL 
PROTECTED]




--- Comment #8 from Veerapuram Varadhan <[EMAIL PROTECTED]>  2008-04-23 
02:27:58 MST ---
(In reply to comment #4 from Gert Driesen)
> After a timeout, the connection appears to be in an unusable state.
> 
> To reproduce:
> 1. Modify the CreateConnectionString method in the test case to match your
> local setup.
> 2. compile and run the test case.
> 
> Expeced result:
> 
> Record read: True
> 
> Actual result:
> 
> Record read: False
>
Gert: Are you running the code against any test suite?

> Note:
> 
> Even if you execute an invalid SQL statement, the ExecuteReader method will 
> not
> result in a SqlException!
> 
In the fix ExecuteReader, I have removed the current try-catch-throw as
ExecuteReader internally calls Execute which throws the same exception that of
the ExecuteReader.  Also, the fix required not to close on TdsTimeoutException
and the same is handled in Execute.  

Can you give more details as to when ExecuteReader is not throwing a
SqlException? 


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to