Bug #5256 | MySqlDataReader and 'show tables from ...' behaviour | ||
---|---|---|---|
Submitted: | 27 Aug 2004 15:26 | Modified: | 14 Oct 2004 23:49 |
Reporter: | Umberto Ballestrazzi | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S3 (Non-critical) |
Version: | 76 | OS: | |
Assigned to: | Reggie Burnett | CPU Architecture: | Any |
[27 Aug 2004 15:26]
Umberto Ballestrazzi
[4 Oct 2004 16:23]
Matthew Lord
Hi Umberto, Thank you for your bug report! When I run this program I get the error I would expect and the word Fetching. Here is the exact output I get (I'm connecting to mysql 4.0.21 on windows 2000): Can't read dir of '.\qaaa\' (Errcode: 2) Fetching Is this what you were getting? I don't see what the problem is yet. If this is what you're getting could you help me understand the problem. Is it that Fetching is printed and although the error was returned the connector is still in the "fetch" state? Best Regards
[4 Oct 2004 17:12]
Umberto Ballestrazzi
Hi Matthew, I think (just an hopinion) that if you have an error the Connection should not remain in Fetching state. Pratically: 1. The connection is unusable. 2. It is the only case that after an error the state is Fetching (if I write a wrong field name or a wrong table name or a wrong database name it does not happen). 3. It does not happen in any ADO provider different from this Teorically: 1. The driver is not fetching anything because of the error. Thanks for your interest! Umberto
[4 Oct 2004 19:23]
Matthew Lord
Hi, OK, I see you point and I agree. I will try this with the new beta version of the official MySQL .NET driver and see if it has been fixed already. Best Regards
[5 Oct 2004 14:16]
Matthew Lord
I verified this using the ByteFX .76 driver and the MySQL 1.0 beta driver. I used a windows 2000 server machine for the tests. The driver remains in the Fetch state even though show tables from blah has returned an error.
[14 Oct 2004 23:49]
Reggie Burnett
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html