• Vicențiu Ciorbaru's avatar
    cleanup: execute test_if_create_new_users as part of grant_stage0 · d6370cb5
    Vicențiu Ciorbaru authored
    There is identical logic for all grant functions. If a grant grants to
    non existant users they are created if the SQL mode is not
    NO_AUTO_CREATE_USER *and* the user granting has rights to create users.
    
    This check is done via test_if_create_new_users. Refactor all code such
    that this check is only done in one (or three places for-now till more
    refactoring happens).
    d6370cb5
sql_acl.h 15.7 KB