Bug #108756 | Can't insert negative number using prepared statement with MySqlDbType.Int24 | ||
---|---|---|---|
Submitted: | 12 Oct 2022 12:48 | Modified: | 7 Jun 2023 14:30 |
Reporter: | Bradley Grainger (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S3 (Non-critical) |
Version: | 8.0.31 | OS: | Windows (10) |
Assigned to: | CPU Architecture: | Any |
[12 Oct 2022 12:48]
Bradley Grainger
[12 Oct 2022 12:58]
MySQL Verification Team
Hello Bradley, Thank you for the report and test case. regards, Umesh
[7 Jun 2023 14:30]
Christine Cole
Posted by developer: Fixed as of the upcoming MySQL Connector/NET 8.1.0 release, and here's the proposed changelog entry from the documentation team: MySqlParameter.MySqlDbType, if set to MySqlDbType.Int24, emitted an error similar to Out of range value for column 'data' at row 1 when a prepared statement was executed and the parameter was a negative number. Thank you for the bug report.