Bug #93047 | Timeout after a read error returns HA_ERR_INTERNAL_ERROR (122) | ||
---|---|---|---|
Submitted: | 1 Nov 2018 17:30 | Modified: | 4 Nov 2018 11:33 |
Reporter: | Olivier Bertrand | Email Updates: | |
Status: | Unsupported | Impact on me: | |
Category: | Connector / NET | Severity: | S1 (Critical) |
Version: | 8.0.13 | OS: | Windows (10) |
Assigned to: | CPU Architecture: | Any |
[1 Nov 2018 17:30]
Olivier Bertrand
[1 Nov 2018 18:19]
MySQL Verification Team
Thank you for the bug report. Server MariaDB isn't supported by MySQL connectors.
[3 Nov 2018 10:29]
Olivier Bertrand
Please don't sweep it so quickly under the rug. I didn't know how to generate a read error using the MySQL server but finally I found this way: create table tmout ( n int not null, w char(16) not null, /* will be too small */ f char(3) not null) engine=CSV; insert into tmout values (26,'Hello world!','foo'), (45,'abcdefghijklmnop','bar'); Then stop the MySQL server and using an editor increase the second line of tmout.CSV to become: 45,"abcdefghijklmnopqrstuvwxyz" Restart the MySQL server. Using the standard mysql client, when doing: select * from tmout; It replies: ERROR 1194 (HY000): Table 'tmout' is marked as crashed and should be repaired Now, using the C# GUI, doing the same thing reproduce the bug: no answer until a timeout occurs.
[3 Nov 2018 23:19]
Olivier Bertrand
What do you mean by "works as expected"? That a connector can hide an error, wait for an eventually long time before returning in case of error and do not display the normal error message but just say that a timeout occured?
[3 Nov 2018 23:21]
Olivier Bertrand
I tried with another connector and this bug does not occur.