Commit 40fd42f7 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-25193 - remove attempt to tame Aria.

parent de91ece1
...@@ -84,12 +84,9 @@ CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION sys_get_config ( ...@@ -84,12 +84,9 @@ CREATE DEFINER='mariadb.sys'@'localhost' FUNCTION sys_get_config (
BEGIN BEGIN
DECLARE v_value VARCHAR(128) DEFAULT NULL; DECLARE v_value VARCHAR(128) DEFAULT NULL;
DECLARE old_val INTEGER 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 -- 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 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 -- Protection against the variable not existing in sys_config
IF (v_value IS NULL) THEN IF (v_value IS NULL) THEN
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment