Bug #72082 | mysqlslap crashes by Floating point exception | ||
---|---|---|---|
Submitted: | 20 Mar 2014 6:21 | Modified: | 31 Mar 2014 16:17 |
Reporter: | Tsubasa Tanaka (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
Version: | 5.6.16 | OS: | Linux (CentOS 6.3) |
Assigned to: | CPU Architecture: | Any | |
Tags: | iterations, mysqlslap |
[20 Mar 2014 6:21]
Tsubasa Tanaka
[20 Mar 2014 6:22]
Tsubasa Tanaka
set min_value and max_value to &iterations. (*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: bug72082.patch (application/octet-stream, text), 1.01 KiB.
[20 Mar 2014 6:46]
MySQL Verification Team
Hello Tsubasa, Thank you for the bug report and contribution. Verified as described. Thanks, Umesh
[31 Mar 2014 16:17]
Paul DuBois
Noted in 5.7.5 changelog. mysqlslap accepted an --iterations option value of 0, which resulted in a divide-by-zero error. The minimum option value now is 1. Thanks to Tsubasa Tanaka for the patch.