• Sergei Golubchik's avatar
    create sys_var::val_str(), sys_var::val_int(), sys_var::val_real(). · 7d328812
    Sergei Golubchik authored
    Change Item_func_get_system_var::val_xxx functions to use that.
    
    mysql-test/t/variables.test:
      @@GLOBAL.INIT_CONNECT is never NULL anymore. Nor it ever was.
      It was a bug that empty string system variables appeared as NULL
      in the *integer context* (but not in a string, real, or decimal context!)
    7d328812
item_func.cc 171 KB