1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

MDEV-10296 - Multi-instance table cache

Fixed sysvars_server_[not]embedded failure: changed type of
table_open_cache_instances from ulong to uint.

Added casts foratomic operations around tc_active_instances and
tc_contention_warning_reported: needed on some platforms.
This commit is contained in:
Sergey Vojtovich
2016-09-16 18:35:56 +04:00
parent 8613633f26
commit a2b1c58c19
5 changed files with 14 additions and 11 deletions

View File

@@ -3893,7 +3893,7 @@ GLOBAL_VALUE 8
GLOBAL_VALUE_ORIGIN COMPILE-TIME
DEFAULT_VALUE 8
VARIABLE_SCOPE GLOBAL
VARIABLE_TYPE BIGINT UNSIGNED
VARIABLE_TYPE INT UNSIGNED
VARIABLE_COMMENT Maximum number of table cache instances
NUMERIC_MIN_VALUE 1
NUMERIC_MAX_VALUE 64

View File

@@ -4663,7 +4663,7 @@ GLOBAL_VALUE 8
GLOBAL_VALUE_ORIGIN COMPILE-TIME
DEFAULT_VALUE 8
VARIABLE_SCOPE GLOBAL
VARIABLE_TYPE BIGINT UNSIGNED
VARIABLE_TYPE INT UNSIGNED
VARIABLE_COMMENT Maximum number of table cache instances
NUMERIC_MIN_VALUE 1
NUMERIC_MAX_VALUE 64