• unknown's avatar
    BUG#15775 "drop user" command does not refresh acl_check_hosts · 26a4951e
    unknown authored
       - DROP USER command didn't reload the acl_check_hosts cache causing subsequent 
         connect's via TCP to fail randomly.
       - 4.1 version
    
    
    mysql-test/r/grant2.result:
      Update test results
    mysql-test/t/grant2.test:
      Add test for to check that connect via TCP work after "drop user"
    sql/sql_acl.cc:
      Reload acl_check_hosts as its memory is mapped to acl_user
      Use acl_user->host.hostname when searching the acl_check_hosts list
    26a4951e
sql_acl.cc 112 KB