[PATCH] Clean up code working with ACL tables

Description

Please consider including the attached patch into MariaDB.
It cleans up the code in sql/sql_acl.cc so that it usess enum values to index different ACL tables instead of hard-coded numbers as indexes. This makes the code more understandable for the reader and less prone to errors during merges between independent changes.

Assignee

Sergei Golubchik

Reporter

Pavel Ivanov

Labels

None

Time tracking

3h

Fix versions

Priority

Major
Configure