• unknown's avatar
    BUG#15775 "drop user" command does not refresh acl_check_hosts · 9a8dde9b
    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
    9a8dde9b
grant2.test 7.42 KB