1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00

System variable tests delivered by Folio3 (see WL4288).

This commit is contained in:
hhunger@hh-nb.hungers
2008-04-10 15:14:28 +02:00
parent 59fc28cfc4
commit afd90d6166
517 changed files with 71653 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
'#--------------------FN_DYNVARS_062_01------------------#'
SELECT @@global.log AS INIT_VALUE;
INIT_VALUE
1
SELECT @@log AS INIT_VALUE;
INIT_VALUE
1
SET @@global.log = ON;
SET global log = 0;
'Bug# 34832: log is a system but it is not accessible using SET @@global.log;'
'SET GLOBAL log; and SELECT @@global.log. SHOW VARIABLES shows the value of log.'
'#--------------------FN_DYNVARS_062_02-------------------------#'
SELECT VARIABLE_VALUE
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='log';
VARIABLE_VALUE
OFF