MDEV-25193 - remove attempt to tame Aria.
This commit is contained in:
parent
de91ece1d5
commit
40fd42f7f5
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user