[Mono-bugs] [Bug 381151] DataAdapter returns 0 rows after an SQL timeout occured

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 23 04:41:48 EDT 2008


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

User gert.driesen at pandora.be added comment
https://bugzilla.novell.com/show_bug.cgi?id=381151#c9


Gert Driesen <gert.driesen at pandora.be> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                                        |REOPENED
      Info Provider|gert.driesen at pandora.be                         |




--- Comment #9 from Gert Driesen <gert.driesen at pandora.be>  2008-04-23 02:41:48 MST ---
I run this test as part my test suite, see gert/standalone in SVN.

You'll want to remove the check for the MONO_TESTS_SQL environment variable
from the repro I provided.

If you run the repro, you'll see that executing the following SQL does not have
any result:

cmd = new SqlCommand ("SELECT * FROM bug381151", conn);

Executing this SqlCommand using ExecuteReader should have a single row as
result, but instead it does not on Mono.

Now, even if you replace that line with this one, you'll get the same result:

cmd = new SqlCommand ("SELECTDOESNOTWORK * FROM bug381151", conn);

Executing this SqlCommand using ExecuteReade should have resulted in a
SqlException, but it does not on Mono.

Have you tried running the repro?


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


More information about the mono-bugs mailing list