• Daniel Black's avatar
    MDEV-30558: ER_KILL_{,QUERY_}DENIED_ERROR - normalize id type · 762fe015
    Daniel Black authored
    The error string from ER_KILL_QUERY_DENIED_ERROR took a different
    type to ER_KILL_DENIED_ERROR for the thread id. This shows
    up in differences on 32 big endian arches like powerpc (Deb notation).
    
    Normalize the passing of the THD->id to its real type of my_thread_id,
    and cast to (long long) on output. As such normalize the
    ER_KILL_QUERY_DENIED_ERROR to that convention too.
    
    Note for upwards merge, convert the type to %lld on new translations
    of ER_KILL_QUERY_DENIED_ERROR.
    762fe015
errmsg-utf8.txt 614 KB