diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2021-03-18 22:41:45 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2021-03-18 22:41:45 +0100 |
commit | 40fd42f7f50ce9c85a4b277b3060f865e6852fd5 (patch) | |
tree | b04c503d1bf72f448bd5d9971f57ec2400bb4511 | |
parent | de91ece1d573340e87b2a5c1d6b9d95240ed9138 (diff) | |
download | mariadb-git-40fd42f7f50ce9c85a4b277b3060f865e6852fd5.tar.gz |
MDEV-25193 - remove attempt to tame Aria.
-rw-r--r-- | scripts/sys_schema/functions/sys_get_config.sql | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/sys_schema/functions/sys_get_config.sql b/scripts/sys_schema/functions/sys_get_config.sql index bf490a66381..9c0c901167a 100644 --- a/scripts/sys_schema/functions/sys_get_config.sql +++ b/scripts/sys_schema/functions/sys_get_config.sql @@ -84,12 +84,9 @@ CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION sys_get_config ( BEGIN DECLARE v_value VARCHAR(128) DEFAULT NULL; DECLARE old_val INTEGER DEFAULT NULL; - SET old_val = @@session.sql_notes; - SET SESSION sql_notes=0; -- Check if we have the variable in the sys.sys_config table SET v_value = (SELECT value FROM sys.sys_config WHERE variable = in_variable_name); - SET SESSION sql_notes=old_val; -- Protection against the variable not existing in sys_config IF (v_value IS NULL) THEN |