HomeSoftware Heritage

MODULES-8373 Fix mysql_grant resource to be idempodent on MySQL 8+

Description

MODULES-8373 Fix mysql_grant resource to be idempodent on MySQL 8+
When the MySQL module is used against MySQL8, mysql_grant is no more idempodent.
This is because MySQL 8+ no more returns "ALL" for SHOW GRANTS, when all privileges
are granted. Instead, the separate privileges are shown.
Unfortunately, the tests were just adapted to not error in this situation.
This commit aims to fix the issue and also fixes the tests.

Details

Provenance
Andre Ponert <theq86@users.noreply.github.com>Authored on Aug 5 2021, 5:12 PM
olasdPushed on Dec 28 2021, 10:47 AM
Parents
rSPMYcb97c87ec7ad: Merge pull request #1420 from ghoneycutt/simplify_acceptance_tests
Branches
Unknown
Tags
Unknown

Event Timeline

Andre Ponert <theq86@users.noreply.github.com> committed rSPMY9b691e9bb7d7: MODULES-8373 Fix mysql_grant resource to be idempodent on MySQL 8+ (authored by Andre Ponert <theq86@users.noreply.github.com>).Aug 5 2021, 5:21 PM