• Sergey Glukhov's avatar
    Bug#35924 DEFINER should be stored 'quoted' in I_S · aa9f6a62
    Sergey Glukhov authored
    The '@' symbol can not be used in the host name according to rfc952.
    The fix:
    added function check_host_name(LEX_STRING *str)
    which checks that all symbols in host name string are valid and
    host name length is not more than max host name length
    (just moved check_string_length() function from the parser into check_host_name()).
    aa9f6a62
mysql_priv.h 68.6 KB