[MDEV-14083] information_schema.system_variables has incorrect information Created: 2017-10-17  Updated: 2023-04-27

Status: Confirmed
Project: MariaDB Server
Component/s: Server
Affects Version/s: 10.1, 10.2.9, 10.2
Fix Version/s: 10.4

Type: Bug Priority: Major
Reporter: Kolbe Kegel (Inactive) Assignee: Sergei Golubchik
Resolution: Unresolved Votes: 0
Labels: None


 Description   

The information_schema.system_variables table reports incorrect information for many variables:

MariaDB [(none)]> select * from information_schema.system_variables where variable_name like '%character_set_server%'\G
*************************** 1. row ***************************
        VARIABLE_NAME: CHARACTER_SET_SERVER
        SESSION_VALUE: utf8mb4
         GLOBAL_VALUE: utf8mb4
  GLOBAL_VALUE_ORIGIN: COMPILE-TIME
        DEFAULT_VALUE: utf8mb4
       VARIABLE_SCOPE: SESSION
        VARIABLE_TYPE: ENUM
     VARIABLE_COMMENT: The default character set
    NUMERIC_MIN_VALUE: NULL
    NUMERIC_MAX_VALUE: NULL
   NUMERIC_BLOCK_SIZE: NULL
      ENUM_VALUE_LIST: NULL
            READ_ONLY: NO
COMMAND_LINE_ARGUMENT: NULL
1 row in set (0.00 sec)

I set that variable from the command line, so both GLOBAL_VALUE_ORIGIN and COMMAND_LINE_ARGUMENT are wrong.


Generated at Thu Feb 08 08:10:47 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.