Bug #68121 | Support for floating-point system variables using the plugin interface. | ||
---|---|---|---|
Submitted: | 18 Jan 2013 21:54 | Modified: | 15 Jul 2013 18:12 |
Reporter: | Davi Arnaut (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: C API (client library) | Severity: | S4 (Feature request) |
Version: | 5.5,5.6 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[18 Jan 2013 21:54]
Davi Arnaut
[18 Jan 2013 21:54]
Davi Arnaut
Support for floating-point system variables using the plugin interface. (*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: 0001-Support-for-floating-point-system-variables-using-th.patch (application/octet-stream, text), 11.92 KiB.
[18 Jan 2013 21:55]
Davi Arnaut
The fractional part of the def, min and max values of system variables is ignored. (*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: 0002-The-fractional-part-of-the-def-min-and-max-values-of.patch (application/octet-stream, text), 9.50 KiB.
[18 Jan 2013 22:02]
Mark Callaghan
For the FB change see http://bugs.mysql.com/bug.php?id=62534 I have not compared it with the patch from Davi
[19 Jan 2013 4:22]
MySQL Verification Team
many variables really need this functionlity, thanks davi!
[15 Jul 2013 18:12]
Paul DuBois
Noted in 5.7.2 changelog. Plugins can now define and expose floating-point system variables of type double using the MYSQL_SYSVAR_DOUBLE() and MYSQL_THDVAR_DOUBLE() accessor macros. See: http://dev.mysql.com/doc/refman/5.7/en/plugin-data-structures.html#client-plugin-descripto...