• Ingo Struewing's avatar
    Bug#28234 - global/session scope - documentation vs implementation · 3ea68493
    Ingo Struewing authored
    Several system variables did not behave like system variables should do.
    When trying to SET them or use them in SELECT, they were reported as
    "unknown system variable". But they appeared in SHOW VARIABLES.
    
    This has been fixed by removing the "fixed_vars" array of variables
    and integrating the variables into the normal system variables chain.
    All of these variables do now behave as read-only global-only
    variables. Trying to SET them tells they are read-only, trying to
    SELECT the session value tells they are global only. Selecting the
    global value works. It delivers the same value as SHOW VARIABLES.
    3ea68493
variables.test 34.9 KB