mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-28007 Deprecate Spider plugin variables regarding statistics persistence
Deprecate the following variables: * spider_store_last_crd * spider_store_last_sts * spider_load_crd_at_startup * spider_load_sts_at_startup
This commit is contained in:
@@ -81,6 +81,31 @@ Warning 1287 '@@spider_xa_register_mode' is deprecated and will be removed in a
|
||||
SHOW VARIABLES LIKE "spider_xa_register_mode";
|
||||
Variable_name Value
|
||||
spider_xa_register_mode 0
|
||||
# MDEV-28007 Deprecate Spider plugin variables regarding statistics persistence
|
||||
SET GLOBAL spider_store_last_sts = 0;
|
||||
Warnings:
|
||||
Warning 1287 '@@spider_store_last_sts' is deprecated and will be removed in a future release
|
||||
SHOW VARIABLES LIKE "spider_store_last_sts";
|
||||
Variable_name Value
|
||||
spider_store_last_sts 0
|
||||
SET GLOBAL spider_store_last_crd = 0;
|
||||
Warnings:
|
||||
Warning 1287 '@@spider_store_last_crd' is deprecated and will be removed in a future release
|
||||
SHOW VARIABLES LIKE "spider_store_last_crd";
|
||||
Variable_name Value
|
||||
spider_store_last_crd 0
|
||||
SET GLOBAL spider_load_sts_at_startup = 0;
|
||||
Warnings:
|
||||
Warning 1287 '@@spider_load_sts_at_startup' is deprecated and will be removed in a future release
|
||||
SHOW VARIABLES LIKE "spider_load_sts_at_startup";
|
||||
Variable_name Value
|
||||
spider_load_sts_at_startup 0
|
||||
SET GLOBAL spider_load_crd_at_startup = 0;
|
||||
Warnings:
|
||||
Warning 1287 '@@spider_load_crd_at_startup' is deprecated and will be removed in a future release
|
||||
SHOW VARIABLES LIKE "spider_load_crd_at_startup";
|
||||
Variable_name Value
|
||||
spider_load_crd_at_startup 0
|
||||
DROP DATABASE auto_test_local;
|
||||
for master_1
|
||||
for child2
|
||||
|
@@ -50,6 +50,19 @@ DROP TABLE tbl_b;
|
||||
SET spider_xa_register_mode = 0;
|
||||
SHOW VARIABLES LIKE "spider_xa_register_mode";
|
||||
|
||||
--echo # MDEV-28007 Deprecate Spider plugin variables regarding statistics persistence
|
||||
SET GLOBAL spider_store_last_sts = 0;
|
||||
SHOW VARIABLES LIKE "spider_store_last_sts";
|
||||
|
||||
SET GLOBAL spider_store_last_crd = 0;
|
||||
SHOW VARIABLES LIKE "spider_store_last_crd";
|
||||
|
||||
SET GLOBAL spider_load_sts_at_startup = 0;
|
||||
SHOW VARIABLES LIKE "spider_load_sts_at_startup";
|
||||
|
||||
SET GLOBAL spider_load_crd_at_startup = 0;
|
||||
SHOW VARIABLES LIKE "spider_load_crd_at_startup";
|
||||
|
||||
DROP DATABASE auto_test_local;
|
||||
|
||||
--disable_query_log
|
||||
|
@@ -3222,7 +3222,7 @@ static int spider_store_last_sts;
|
||||
static MYSQL_SYSVAR_INT(
|
||||
store_last_sts,
|
||||
spider_store_last_sts,
|
||||
PLUGIN_VAR_RQCMDARG,
|
||||
PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_DEPRECATED,
|
||||
"Store last sts result into system table",
|
||||
NULL,
|
||||
spider_use_table_value_deprecated,
|
||||
@@ -3249,7 +3249,7 @@ static int spider_store_last_crd;
|
||||
static MYSQL_SYSVAR_INT(
|
||||
store_last_crd,
|
||||
spider_store_last_crd,
|
||||
PLUGIN_VAR_RQCMDARG,
|
||||
PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_DEPRECATED,
|
||||
"Store last crd result into system table",
|
||||
NULL,
|
||||
spider_use_table_value_deprecated,
|
||||
@@ -3276,7 +3276,7 @@ static int spider_load_sts_at_startup;
|
||||
static MYSQL_SYSVAR_INT(
|
||||
load_sts_at_startup,
|
||||
spider_load_sts_at_startup,
|
||||
PLUGIN_VAR_RQCMDARG,
|
||||
PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_DEPRECATED,
|
||||
"Load sts from system table at startup",
|
||||
NULL,
|
||||
spider_use_table_value_deprecated,
|
||||
@@ -3303,7 +3303,7 @@ static int spider_load_crd_at_startup;
|
||||
static MYSQL_SYSVAR_INT(
|
||||
load_crd_at_startup,
|
||||
spider_load_crd_at_startup,
|
||||
PLUGIN_VAR_RQCMDARG,
|
||||
PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_DEPRECATED,
|
||||
"Load crd from system table at startup",
|
||||
NULL,
|
||||
spider_use_table_value_deprecated,
|
||||
|
Reference in New Issue
Block a user