[MDEV-31695] Add system_variables to SQL_CATALOG Created: 2023-07-15  Updated: 2023-11-01

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Michael Widenius Assignee: Michael Widenius
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-31703 Catalogs and logging Open
PartOf
includes MDEV-31694 Add catalog specific tmpdir Open
is part of MDEV-31542 Add multi-tenancy catalogs to MariaDB Stalled

 Description   

A catalog can have their own my.cnf file in it's catalog directory.

  • A normal 'root user' should be able to change 'catalog' variables but not
    the 'server' variables.
  • A 'def root user' will be able to change the 'server' (global) variables.
  • When initializing catalog variables, we first make a copy of the 'server' variables and then
    apply the local my.cnf file. Not all variables can be changed. We will support only those
    that makes sense to have per catalog.

When running with catalogs, then 'global variable' and 'catalog variable' will be the same and refer
to the catalog variables. 'server variable' can be used to refer to the server wide variables.
This is the similar to how status variables works when running with catalogs. (This part is already implemented).


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