• unknown's avatar
    Backport of JimW's localhost patch to 4.1 tree. · a59a4441
    unknown authored
    Handle systems like default FC4 where 127.0.0.1 doesn't always map to 'localhost' first. 
    (Bug #11822)
    
    
    sql/hostname.cc:
      Short-circuit ip_to_hostname() lookup for INADDR_LOOPBACK to allways return 'localhost'.
    sql/sql_parse.cc:
      Push special handling of 127.0.0.1 into ip_to_hostname().
    a59a4441
sql_parse.cc 168 KB