Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-6673

I_S.SESSION_VARIABLES shows global values

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.39, 10.0.13
    • Fix Version/s: 5.5.40, 10.0.14
    • Component/s: None
    • Labels:
      None

      Description

      I_S.SESSION_VARIABLES shows global data, for example, if the previous statement is SET GLOBAL or SHOW GLOBAL.

      set session sql_mode=ansi_quotes;
      select * from information_schema.session_variables where variable_name='sql_mode';
      show global status like 'foobar';
      select * from information_schema.session_variables where variable_name='sql_mode';

        Attachments

          Activity

            People

            Assignee:
            serg Sergei Golubchik
            Reporter:
            serg Sergei Golubchik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: