Bug #13649 | Cannot execute more than one query with a single connection | ||
---|---|---|---|
Submitted: | 30 Sep 2005 11:50 | Modified: | 3 Oct 2005 15:04 |
Reporter: | [ name withheld ] | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | 1.5 | OS: | Windows (Windows 2003 Server) |
Assigned to: | Reggie Burnett | CPU Architecture: | Any |
[30 Sep 2005 11:50]
[ name withheld ]
[2 Oct 2005 11:09]
Vasily Kishkin
Thanks for the bug report. I was able to reproduce the bug. Test case is attached.
[2 Oct 2005 11:10]
Vasily Kishkin
Test case
Attachment: 13649.zip (application/x-zip-compressed, text), 5.55 KiB.
[3 Oct 2005 3:48]
Robert McKee
That's normal. Works the same on SQL Server. You can not open two datareaders on the same connection. I believe you CAN open a second one, but only after you have read through all the records from your first datareader, but I haven't tried it.
[3 Oct 2005 15:04]
Reggie Burnett
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.mysql.com/documentation/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php Additional info: Webmaster You are seeing two issues. The missing manifest resource exception has been fixed in 1.0.6. The other issue is executing two readers off the same connection. You cannot execute any query on a connection while a data reader is currently open on that connection. This is the same across all ADO.Net providers. To execute a new query, you must first close any existing data reader on that connection. Reggie