• Sergei Golubchik's avatar
    SET STATEMENT timestamp=xxx .... · eb29a63e
    Sergei Golubchik authored
    fix sys_var->is_default() method (that was using default_val property
    in a global sys_var object to track per-session state):
    * move timestamp to a dedicated Sys_var_timestamp class
      (in fact, rename Sys_var_session_special_double to Sys_var_timestamp)
    * make session_is_default a virtual method with a special implementation
      for timestamps
    * other variables don't have a special behavior for default values
      and can have session_is_default() to be always false.
    eb29a63e
sys_vars.h 74.5 KB