• Sergey Vojtovich's avatar
    MDEV-7499 - System variables have broken default values on big endian · 451e9b7a
    Sergey Vojtovich authored
    INFORMATION_SCHEMA.SYSTEM_VARIABLES.DEFAULT_VALUE had broken values on
    big endian.
    
    Default value is internally stored as longlong, while I_S references it's
    pointer (longlong *) according to variable type (e.g. int, my_bool, etc). This
    works well on little endian, but on big endian we always get 0 for such
    variables.
    451e9b7a
sql_plugin.cc 123 KB