~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to mysql-test/r/secure_auth_basic.result

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SET @global_start_value = @@global.secure_auth;
 
2
SELECT @global_start_value;
 
3
@global_start_value
 
4
0
 
5
'#--------------------FN_DYNVARS_143_01------------------------#'
 
6
SET @@global.secure_auth = 1;
 
7
SET @@global.secure_auth = DEFAULT;
 
8
SELECT @@global.secure_auth;
 
9
@@global.secure_auth
 
10
0
 
11
'#---------------------FN_DYNVARS_143_02-------------------------#'
 
12
SET secure_auth = 1;
 
13
ERROR HY000: Variable 'secure_auth' is a GLOBAL variable and should be set with SET GLOBAL
 
14
SELECT @@secure_auth;
 
15
@@secure_auth
 
16
0
 
17
SELECT global.secure_auth;
 
18
ERROR 42S02: Unknown table 'global' in field list
 
19
SET global secure_auth = 1;
 
20
SELECT @@global.secure_auth;
 
21
@@global.secure_auth
 
22
1
 
23
'#--------------------FN_DYNVARS_143_03------------------------#'
 
24
SET @@global.secure_auth = 0;
 
25
SELECT @@global.secure_auth;
 
26
@@global.secure_auth
 
27
0
 
28
SET @@global.secure_auth = 1;
 
29
SELECT @@global.secure_auth;
 
30
@@global.secure_auth
 
31
1
 
32
'#--------------------FN_DYNVARS_143_04-------------------------#'
 
33
SET @@global.secure_auth = -1;
 
34
ERROR 42000: Variable 'secure_auth' can't be set to the value of '-1'
 
35
SET @@global.secure_auth = 2;
 
36
ERROR 42000: Variable 'secure_auth' can't be set to the value of '2'
 
37
SET @@global.secure_auth = "T";
 
38
ERROR 42000: Variable 'secure_auth' can't be set to the value of 'T'
 
39
SET @@global.secure_auth = "Y";
 
40
ERROR 42000: Variable 'secure_auth' can't be set to the value of 'Y'
 
41
SET @@global.secure_auth = YES;
 
42
ERROR 42000: Variable 'secure_auth' can't be set to the value of 'YES'
 
43
SET @@global.secure_auth = ONN;
 
44
ERROR 42000: Variable 'secure_auth' can't be set to the value of 'ONN'
 
45
SET @@global.secure_auth = OOF;
 
46
ERROR 42000: Variable 'secure_auth' can't be set to the value of 'OOF'
 
47
SET @@global.secure_auth = 0FF;
 
48
ERROR 42000: Variable 'secure_auth' can't be set to the value of '0FF'
 
49
SET @@global.secure_auth = ' 1';
 
50
ERROR 42000: Variable 'secure_auth' can't be set to the value of ' 1'
 
51
SET @@global.secure_auth = NO;
 
52
ERROR 42000: Variable 'secure_auth' can't be set to the value of 'NO'
 
53
'#-------------------FN_DYNVARS_143_05----------------------------#'
 
54
SET @@session.secure_auth = 0;
 
55
ERROR HY000: Variable 'secure_auth' is a GLOBAL variable and should be set with SET GLOBAL
 
56
SET @@secure_auth = 0;
 
57
ERROR HY000: Variable 'secure_auth' is a GLOBAL variable and should be set with SET GLOBAL
 
58
SET @@local.secure_auth = 0;
 
59
ERROR HY000: Variable 'secure_auth' is a GLOBAL variable and should be set with SET GLOBAL
 
60
SELECT @@session.secure_auth;
 
61
ERROR HY000: Variable 'secure_auth' is a GLOBAL variable
 
62
SELECT @@local.secure_auth;
 
63
ERROR HY000: Variable 'secure_auth' is a GLOBAL variable
 
64
'#----------------------FN_DYNVARS_143_06------------------------#'
 
65
SELECT count(VARIABLE_VALUE)
 
66
FROM INFORMATION_SCHEMA.SESSION_VARIABLES 
 
67
WHERE VARIABLE_NAME='secure_auth';
 
68
count(VARIABLE_VALUE)
 
69
1
 
70
'#----------------------FN_DYNVARS_143_07------------------------#'
 
71
SELECT @@global.secure_auth = VARIABLE_VALUE 
 
72
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
 
73
WHERE VARIABLE_NAME='secure_auth';
 
74
@@global.secure_auth = VARIABLE_VALUE
 
75
0
 
76
SELECT @@global.secure_auth;
 
77
@@global.secure_auth
 
78
1
 
79
SELECT VARIABLE_VALUE 
 
80
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
 
81
WHERE VARIABLE_NAME='secure_auth';
 
82
VARIABLE_VALUE
 
83
ON
 
84
'#---------------------FN_DYNVARS_143_08-------------------------#'
 
85
SET @@global.secure_auth = OFF;
 
86
SELECT @@global.secure_auth;
 
87
@@global.secure_auth
 
88
0
 
89
SET @@global.secure_auth = ON;
 
90
SELECT @@global.secure_auth;
 
91
@@global.secure_auth
 
92
1
 
93
'#---------------------FN_DYNVARS_143_09----------------------#'
 
94
SET @@global.secure_auth = TRUE;
 
95
SELECT @@global.secure_auth;
 
96
@@global.secure_auth
 
97
1
 
98
SET @@global.secure_auth = FALSE;
 
99
SELECT @@global.secure_auth;
 
100
@@global.secure_auth
 
101
0
 
102
SET @@global.secure_auth = @global_start_value;
 
103
SELECT @@global.secure_auth;
 
104
@@global.secure_auth
 
105
0