[MDEV-4549] [PATCH] Clean up code working with ACL tables Created: 2013-05-20  Updated: 2014-06-23  Resolved: 2014-06-23

Status: Closed
Project: MariaDB Server
Component/s: None
Fix Version/s: 10.1.0

Type: Task Priority: Major
Reporter: Pavel Ivanov Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None

Attachments: File acl.diff     Text File patch.txt    

 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.



 Comments   
Comment by Sergei Golubchik [ 2014-06-14 ]

svoj, could you please review this cleanup patch? Thanks.

Comment by Sergey Vojtovich [ 2014-06-23 ]

Ok to push.

Generated at Thu Feb 08 06:57:16 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.