Commit c946b8a2 authored by Sinisa@sinisa.nasamreza.org's avatar Sinisa@sinisa.nasamreza.org
Browse files

Just making it the same as Monty changed it in 3.23.52

parent 84ec8b90
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -321,8 +321,11 @@ int acl_init(bool dont_read_acl_tables)
    ACL_DB db;
    update_hostname(&db.host,get_field(&mem, table,0));
    db.db=get_field(&mem, table,1);
    if (!db.db || !db.db[0])
    if (!db.db)
    {
      sql_print_error("Found an entry in the 'db' table with empty database name; Skipped");
      continue;
    }
    db.user=get_field(&mem, table,2);
    db.access=get_access(table,3);
    db.access=fix_rights_for_db(db.access);