[MDEV-27166] Default value of character_set_system is not correct in information_schema.SYSTEM_VARIABLES Created: 2021-12-03 Updated: 2021-12-13 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Configuration, Information Schema, Variables |
| Affects Version/s: | 10.3.32, 10.4.22, 10.5.13, 10.6.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The real default value of character_set_system is not shown in information_schema.SYSTEM_VARIABLES. For example, see the following output on 10.6:
The real default values are:
This probably occurs because the code sets the default value to 0: https://github.com/MariaDB/server/blob/mariadb-10.6.4/sql/sys_vars.cc#L787 And then the value is actually set during startup: https://github.com/MariaDB/server/blob/mariadb-10.6.4/sql/mysqld.cc#L5454 Can the actual default be shown in information_schema.SYSTEM_VARIABLES? |