Bug #15564 | "Connection unexpectedly terminated" using DateTime column | ||
---|---|---|---|
Submitted: | 7 Dec 2005 22:51 | Modified: | 14 Jan 2006 18:57 |
Reporter: | [ name withheld ] | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | 1.0.7 | OS: | Linux (Gentoo Linux) |
Assigned to: | CPU Architecture: | Any |
[7 Dec 2005 22:51]
[ name withheld ]
[8 Dec 2005 11:52]
Vasily Kishkin
I was not able to reproduce the bug. As far as I can understand you use Mono, am I right ? I created simple table with DateTime column and fetch it without problem. Could you please write here table definitions ?
[8 Dec 2005 15:25]
[ name withheld ]
Correct, sorry, I should have been more explicit about the development platform. It is running on Mono 1.1.10. Here's the description for the table as it stands currently (hopefully it's readable): +---------------------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +---------------------+--------------+------+-----+---------+----------------+ | AssessmentID | int(11) | | PRI | NULL | auto_increment | | AssessmentTypeID | int(11) | | | 0 | | | CustomerID | int(11) | | | 0 | | | AssessmentDateStart | datetime | YES | | NULL | | | AssessmentDateEnd | datetime | YES | | NULL | | | LeadEngineerID | int(11) | | | 0 | | | TargetAmount | double(10,0) | YES | | NULL | | | Description | varchar(255) | YES | | NULL | | +---------------------+--------------+------+-----+---------+----------------+ If there's anything more I can do in the mean time to help reproduce or resolve this issue, let me know, I'm more than happy to help.
[12 Dec 2005 21:16]
[ name withheld ]
More information about this bug... If I do not use a prepared statement, it appears to work ok. I am currently debugging through the MySql connector code trying to track this down. It is very reproducible on my machine.
[14 Dec 2005 18:57]
Vasily Kishkin
Probably you need to create and attach full text of your test case and maybe project files. Could you please do it ?
[15 Jan 2006 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[16 Jun 2008 15:37]
Chris Wilson
Hi, I have spent ages trying to figure out this problem. After lots of investigation I have concluded the following. After performing a large SELECT query, the results are then sent to the client which requested it. This can take some time (especially if you are not connecting from localhost). This error occurs (often at random places depending on network traffic), because the net_write_timeout limit was reached before all the rows had been returned. I don't beleive changing this timeout limit is the best way to resolve the problem, instead change your SELECT query from: SELECT * FROM YourTableName To: SELECT SQL_BUFFER_RESULT * FROM YourTableName The use of SQL_BUFFER_RESULT will make sure your MySQL server doesn't lock out or timeout while sending the results of your query to the client. Hope this helps. Chris