Bug #80693 | Commands ignored and no error produced when packet over max_allowed_packet | ||
---|---|---|---|
Submitted: | 10 Mar 2016 16:11 | Modified: | 29 Nov 2021 16:58 |
Reporter: | Adam Latchem | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S1 (Critical) |
Version: | 6.9.6, 6.9.8 | OS: | Windows (Any) |
Assigned to: | CPU Architecture: | Any | |
Tags: | Critical, error, ignored, max_allowed_packet |
[10 Mar 2016 16:11]
Adam Latchem
[11 Mar 2016 8:27]
Chiranjeevi Battula
Hello Adam Latchem, Thank you for the bug report and test case. Verified this behavior on Visual Studio 2013 (C#.Net) with MySQL Connector/Net 6.9.8. Thanks, Chiranjeevi.
[11 Mar 2016 8:28]
Chiranjeevi Battula
Screenshot.
Attachment: 80693.PNG (image/png, text), 56.34 KiB.
[11 Mar 2016 15:14]
Adam Latchem
Chiranjeevi - looking at the screenshot I don't think you have the same issue, please ensure there is a SPACE at the start of the insert statement this is to workaround Bug #71626. Then set a small number for max_allowed_packet on the server. Then you will not hit the exception (but it would be better if we did) as the number of rows will erroneously match the number you send and in addition you will see the rows never made it to the server. Kind Regards Adam
[29 Nov 2021 16:58]
Christine Cole
Posted by developer: Fixed as of the upcoming MySQL Connector/NET 8.0.28 release, and here's the proposed changelog entry from the documentation team: Batch inserts that exceeded the max_allowed_packet value were not processed and skipping the insert attempt did not emit an error. Thank you for the bug report.