Bug #96848 | SET PERSIST_ONLY of bool/enum and not allowed int value prevents server to start | ||
---|---|---|---|
Submitted: | 12 Sep 2019 11:11 | Modified: | 3 Feb 2020 10:18 |
Reporter: | Kamil Holubicki (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Options | Severity: | S3 (Non-critical) |
Version: | 8.0.15, 8.0.17 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[12 Sep 2019 11:11]
Kamil Holubicki
[12 Sep 2019 12:28]
MySQL Verification Team
Hello Kamil, Thank you for the report. Verified as described with 8.0.17 build. regards, Umesh
[13 Sep 2019 8:38]
Kamil Holubicki
The patch that fixes the problem at reading from mysqld-auto.cnf file stage (*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: bug96848.patch (text/x-patch), 12.72 KiB.
[22 Oct 2019 12:35]
Paul DuBois
Posted by developer: Fixed in 8.0.19. Using SET PERSIST_ONLY to set a boolean system variable to a numeric value resulted in the server being unable to restart.
[3 Feb 2020 10:18]
Kamil Holubicki
Hi @Paul Dubois, I see that for bool variables it is fixed indeed, but the problem still exists for enum variables set persist_only binlog_row_image=2; 2020-02-03T10:18:11.185115Z 5 [ERROR] [MY-011268] [Server] Configuring persisted options failed: "Variable 'binlog_row_image' can't be set to the value of '2'". 2020-02-03T10:18:11.185489Z 0 [ERROR] [MY-010175] [Server] Setting persistent options failed. However 2 is vaid value for binlog_row_image