mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-25193 - remove attempt to tame Aria.
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user