File: secure_auth_basic.result

package info (click to toggle)
percona-xtrabackup 2.2.3-2.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 293,260 kB
  • ctags: 146,881
  • sloc: cpp: 1,051,960; ansic: 570,217; java: 54,595; perl: 53,495; pascal: 44,194; sh: 27,826; yacc: 15,314; python: 12,142; xml: 7,848; sql: 4,125; makefile: 1,459; awk: 785; lex: 758
file content (113 lines) | stat: -rw-r--r-- 4,350 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
SET @global_start_value = @@global.secure_auth;
SELECT @global_start_value;
@global_start_value
1
'#--------------------FN_DYNVARS_143_01------------------------#'
SET @@global.secure_auth = 0;
Warnings:
Warning	1287	'pre-4.1 password hash' is deprecated and will be removed in a future release. Please use post-4.1 password hash instead
SET @@global.secure_auth = DEFAULT;
SELECT @@global.secure_auth;
@@global.secure_auth
1
'#---------------------FN_DYNVARS_143_02-------------------------#'
SET secure_auth = 1;
ERROR HY000: Variable 'secure_auth' is a GLOBAL variable and should be set with SET GLOBAL
SELECT @@secure_auth;
@@secure_auth
1
SELECT global.secure_auth;
ERROR 42S02: Unknown table 'global' in field list
SET global secure_auth = 1;
SELECT @@global.secure_auth;
@@global.secure_auth
1
'#--------------------FN_DYNVARS_143_03------------------------#'
SET @@global.secure_auth = 0;
Warnings:
Warning	1287	'pre-4.1 password hash' is deprecated and will be removed in a future release. Please use post-4.1 password hash instead
SELECT @@global.secure_auth;
@@global.secure_auth
0
SET @@global.secure_auth = 1;
SELECT @@global.secure_auth;
@@global.secure_auth
1
'#--------------------FN_DYNVARS_143_04-------------------------#'
SET @@global.secure_auth = -1;
ERROR 42000: Variable 'secure_auth' can't be set to the value of '-1'
SET @@global.secure_auth = 2;
ERROR 42000: Variable 'secure_auth' can't be set to the value of '2'
SET @@global.secure_auth = "T";
ERROR 42000: Variable 'secure_auth' can't be set to the value of 'T'
SET @@global.secure_auth = "Y";
ERROR 42000: Variable 'secure_auth' can't be set to the value of 'Y'
SET @@global.secure_auth = YES;
ERROR 42000: Variable 'secure_auth' can't be set to the value of 'YES'
SET @@global.secure_auth = ONN;
ERROR 42000: Variable 'secure_auth' can't be set to the value of 'ONN'
SET @@global.secure_auth = OOF;
ERROR 42000: Variable 'secure_auth' can't be set to the value of 'OOF'
SET @@global.secure_auth = 0FF;
ERROR 42000: Variable 'secure_auth' can't be set to the value of '0FF'
SET @@global.secure_auth = ' 1';
ERROR 42000: Variable 'secure_auth' can't be set to the value of ' 1'
SET @@global.secure_auth = NO;
ERROR 42000: Variable 'secure_auth' can't be set to the value of 'NO'
'#-------------------FN_DYNVARS_143_05----------------------------#'
SET @@session.secure_auth = 0;
ERROR HY000: Variable 'secure_auth' is a GLOBAL variable and should be set with SET GLOBAL
SET @@secure_auth = 0;
ERROR HY000: Variable 'secure_auth' is a GLOBAL variable and should be set with SET GLOBAL
SET @@local.secure_auth = 0;
ERROR HY000: Variable 'secure_auth' is a GLOBAL variable and should be set with SET GLOBAL
SELECT @@session.secure_auth;
ERROR HY000: Variable 'secure_auth' is a GLOBAL variable
SELECT @@local.secure_auth;
ERROR HY000: Variable 'secure_auth' is a GLOBAL variable
'#----------------------FN_DYNVARS_143_06------------------------#'
SELECT count(VARIABLE_VALUE)
FROM INFORMATION_SCHEMA.SESSION_VARIABLES 
WHERE VARIABLE_NAME='secure_auth';
count(VARIABLE_VALUE)
1
'#----------------------FN_DYNVARS_143_07------------------------#'
SELECT IF(@@global.secure_auth, "ON", "OFF") = VARIABLE_VALUE 
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
WHERE VARIABLE_NAME='secure_auth';
IF(@@global.secure_auth, "ON", "OFF") = VARIABLE_VALUE
1
SELECT @@global.secure_auth;
@@global.secure_auth
1
SELECT VARIABLE_VALUE 
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
WHERE VARIABLE_NAME='secure_auth';
VARIABLE_VALUE
ON
'#---------------------FN_DYNVARS_143_08-------------------------#'
SET @@global.secure_auth = OFF;
Warnings:
Warning	1287	'pre-4.1 password hash' is deprecated and will be removed in a future release. Please use post-4.1 password hash instead
SELECT @@global.secure_auth;
@@global.secure_auth
0
SET @@global.secure_auth = ON;
SELECT @@global.secure_auth;
@@global.secure_auth
1
'#---------------------FN_DYNVARS_143_09----------------------#'
SET @@global.secure_auth = TRUE;
SELECT @@global.secure_auth;
@@global.secure_auth
1
SET @@global.secure_auth = FALSE;
Warnings:
Warning	1287	'pre-4.1 password hash' is deprecated and will be removed in a future release. Please use post-4.1 password hash instead
SELECT @@global.secure_auth;
@@global.secure_auth
0
SET @@global.secure_auth = @global_start_value;
SELECT @@global.secure_auth;
@@global.secure_auth
1