Bug #101417 | "Turning ON the system variable '@@partial_revokes'." but displays wrong | ||
---|---|---|---|
Submitted: | 2 Nov 2020 11:04 | Modified: | 3 Nov 2020 16:17 |
Reporter: | Tsubasa Tanaka (OCA) | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Options | Severity: | S3 (Non-critical) |
Version: | 8.0.22 | OS: | CentOS (7.8.2003) |
Assigned to: | CPU Architecture: | x86 |
[2 Nov 2020 11:04]
Tsubasa Tanaka
[2 Nov 2020 11:10]
Tsubasa Tanaka
Patch for MySQL 8.0.22 (*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: bug101417.patch (application/octet-stream, text), 289 bytes.
[2 Nov 2020 11:10]
Tsubasa Tanaka
mtr patch for bug101417 (*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: bug101417_mtr.patch (application/octet-stream, text), 1.14 KiB.
[2 Nov 2020 11:13]
MySQL Verification Team
Hello tanaka-San, Thank you for the report and contribution. Verified as described. regards, Umesh
[2 Nov 2020 11:14]
Tsubasa Tanaka
# patched-mtr result ## Before fix $ ./mtr partial_revokes_add_remove Logging: ./mtr partial_revokes_add_remove MySQL Version 8.0.22 Checking supported features Using 'all' suites Collecting tests Checking leftover processes Removing old var directory Creating var directory '/home/centos/mysql-8.0.22/mysql-test/var' Installing system database Using parallel: 1 ============================================================================== TEST NAME RESULT TIME (ms) COMMENT ------------------------------------------------------------------------------ [ 50%] auth_sec.partial_revokes_add_remove [ fail ] Test ended at 2020-11-02 11:13:50 CURRENT_TEST: auth_sec.partial_revokes_add_remove --- /home/centos/mysql-8.0.22/mysql-test/suite/auth_sec/r/partial_revokes_add_remove.result 2020-11-02 14:05:29.861417440 +0300 +++ /home/centos/mysql-8.0.22/mysql-test/var/log/partial_revokes_add_remove.reject 2020-11-02 14:13:50.173844418 +0300 @@ -1346,7 +1346,7 @@ include/assert_grep.inc [Found the expected warning line in the server log.] SELECT @@global.partial_revokes; @@global.partial_revokes -1 +0 DROP USER foo; # 5. @@partial_revokes can be turned OFF after there exists no # partial revokes in the user_attributes table mysqltest: Result content mismatch ## After fix $ ./mtr partial_revokes_add_remove Logging: ./mtr partial_revokes_add_remove MySQL Version 8.0.22 Checking supported features Using 'all' suites Collecting tests Checking leftover processes Removing old var directory Creating var directory '/home/centos/mysql-8.0.22/mysql-test/var' Installing system database Using parallel: 1 ============================================================================== TEST NAME RESULT TIME (ms) COMMENT ------------------------------------------------------------------------------ [ 50%] auth_sec.partial_revokes_add_remove [ pass ] 24308 [100%] shutdown_report [ pass ] ------------------------------------------------------------------------------ The servers were restarted 0 times The servers were reinitialized 0 times Spent 24.308 of 33 seconds executing testcases Completed: All 2 tests were successful.
[5 Nov 2020 8:42]
Erlend Dahl
Duplicate of Bug#100677 show variables like 'partial_revokes' reports incorrect output after the restart