Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
40fd42f7
Commit
40fd42f7
authored
Mar 18, 2021
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-25193 - remove attempt to tame Aria.
parent
de91ece1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
scripts/sys_schema/functions/sys_get_config.sql
scripts/sys_schema/functions/sys_get_config.sql
+0
-3
No files found.
scripts/sys_schema/functions/sys_get_config.sql
View file @
40fd42f7
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment