Skip to content

Instantly share code, notes, and snippets.

@michaelmcallister
Created April 25, 2017 12:22
Show Gist options
  • Save michaelmcallister/7f2414a61aaf7ff228f92c0082013ed1 to your computer and use it in GitHub Desktop.
Save michaelmcallister/7f2414a61aaf7ff228f92c0082013ed1 to your computer and use it in GitHub Desktop.
MySQL acl_init comment
/*
Initialize structures responsible for user/db-level privilege checking and
load privilege information for them from tables in the 'mysql' database.
SYNOPSIS
acl_init()
dont_read_acl_tables TRUE if we want to skip loading data from
privilege tables and disable privilege checking.
NOTES
This function is mostly responsible for preparatory steps, main work
on initialization and grants loading is done in acl_reload().
RETURN VALUES
0 ok
1 Could not initialize grant's
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment