~ubuntu-branches/ubuntu/trusty/mysql-5.6/trusty

« back to all changes in this revision

Viewing changes to mysql-test/suite/sys_vars/r/version_compile_machine_basic.result

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-12 11:54:27 UTC
  • Revision ID: package-import@ubuntu.com-20140212115427-oq6tfsqxl1wuwehi
Tags: upstream-5.6.15
ImportĀ upstreamĀ versionĀ 5.6.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'#---------------------BS_STVARS_055_01----------------------#'
 
2
SELECT COUNT(@@GLOBAL.version_compile_machine);
 
3
COUNT(@@GLOBAL.version_compile_machine)
 
4
1
 
5
1 Expected
 
6
'#---------------------BS_STVARS_055_02----------------------#'
 
7
SET @@GLOBAL.version_compile_machine=1;
 
8
ERROR HY000: Variable 'version_compile_machine' is a read only variable
 
9
Expected error 'Read only variable'
 
10
SELECT COUNT(@@GLOBAL.version_compile_machine);
 
11
COUNT(@@GLOBAL.version_compile_machine)
 
12
1
 
13
1 Expected
 
14
'#---------------------BS_STVARS_055_03----------------------#'
 
15
SELECT @@GLOBAL.version_compile_machine = VARIABLE_VALUE
 
16
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
 
17
WHERE VARIABLE_NAME='version_compile_machine';
 
18
@@GLOBAL.version_compile_machine = VARIABLE_VALUE
 
19
1
 
20
1 Expected
 
21
SELECT COUNT(@@GLOBAL.version_compile_machine);
 
22
COUNT(@@GLOBAL.version_compile_machine)
 
23
1
 
24
1 Expected
 
25
SELECT COUNT(VARIABLE_VALUE)
 
26
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
 
27
WHERE VARIABLE_NAME='version_compile_machine';
 
28
COUNT(VARIABLE_VALUE)
 
29
1
 
30
1 Expected
 
31
'#---------------------BS_STVARS_055_04----------------------#'
 
32
SELECT @@version_compile_machine = @@GLOBAL.version_compile_machine;
 
33
@@version_compile_machine = @@GLOBAL.version_compile_machine
 
34
1
 
35
1 Expected
 
36
'#---------------------BS_STVARS_055_05----------------------#'
 
37
SELECT COUNT(@@version_compile_machine);
 
38
COUNT(@@version_compile_machine)
 
39
1
 
40
1 Expected
 
41
SELECT COUNT(@@local.version_compile_machine);
 
42
ERROR HY000: Variable 'version_compile_machine' is a GLOBAL variable
 
43
Expected error 'Variable is a GLOBAL variable'
 
44
SELECT COUNT(@@SESSION.version_compile_machine);
 
45
ERROR HY000: Variable 'version_compile_machine' is a GLOBAL variable
 
46
Expected error 'Variable is a GLOBAL variable'
 
47
SELECT COUNT(@@GLOBAL.version_compile_machine);
 
48
COUNT(@@GLOBAL.version_compile_machine)
 
49
1
 
50
1 Expected
 
51
SELECT version_compile_machine = @@SESSION.version_compile_machine;
 
52
ERROR 42S22: Unknown column 'version_compile_machine' in 'field list'
 
53
Expected error 'Readonly variable'