PE-1593 - When you refer to a system variable in an expression as
@@var_name (that is, when you do not specify @@global. or @@session.),
MySQL returns the session value if it exists and the global value
otherwise. (This differs from SET @@var_name = value, which always
refers to the session value.)