Closed petoju closed 10 months ago
It seems dynamic grants in MySQL8 don't obey the original grant model, where SHOW GRANTS shows them in 1 row.
Instead, there are 2 rows - one for static grants like SELECT and one for dynamic grants.
I added test and started merging all grants to make sure we get everything here.
As the new test works now (and didn't work before), I am reasonably convinced this works.
@petoju Few weeks ago, we encountered this problem after upgrade mysql 8.0. So happy because you fixed this <3
It seems dynamic grants in MySQL8 don't obey the original grant model, where SHOW GRANTS shows them in 1 row.
Instead, there are 2 rows - one for static grants like SELECT and one for dynamic grants.
I added test and started merging all grants to make sure we get everything here.
As the new test works now (and didn't work before), I am reasonably convinced this works.