File: innodb_log_file_size_functionality.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 (73 lines) | stat: -rw-r--r-- 2,858 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
'#________________________VAR_09_INNODB_LOG_FILE_SIZE__________________#'
echo '##'
--echo '#---------------------WL6372_VAR_9_01----------------------#'
####################################################################
#   Checking default value                                         #
####################################################################
SELECT COUNT(@@GLOBAL.innodb_log_file_size)
1 Expected
SELECT @@GLOBAL.innodb_log_file_size;
@@GLOBAL.innodb_log_file_size
5242880
5242880 Expected
'#---------------------WL6372_VAR_9_02----------------------#'
SET @@local.innodb_log_file_size=1;
ERROR HY000: Variable 'innodb_log_file_size' is a read only variable
Expected error 'Read only variable'
SET @@session.innodb_log_file_size=1;
ERROR HY000: Variable 'innodb_log_file_size' is a read only variable
Expected error 'Read only variable'
SET @@GLOBAL.innodb_log_file_size=1;
ERROR HY000: Variable 'innodb_log_file_size' is a read only variable
Expected error 'Read only variable'
SET @@GLOBAL.innodb_log_file_size=DEFAULT;
ERROR HY000: Variable 'innodb_log_file_size' is a read only variable
Expected error 'Read only variable'
SELECT COUNT(@@GLOBAL.innodb_log_file_size);
COUNT(@@GLOBAL.innodb_log_file_size)
1
1 Expected
'#---------------------WL6372_VAR_9_03----------------------#'
SELECT @@GLOBAL.innodb_log_file_size = VARIABLE_VALUE
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='innodb_log_file_size';
@@GLOBAL.innodb_log_file_size = VARIABLE_VALUE
1
1 Expected
SELECT COUNT(@@GLOBAL.innodb_log_file_size);
COUNT(@@GLOBAL.innodb_log_file_size)
1
1 Expected
SELECT COUNT(VARIABLE_VALUE)
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
WHERE VARIABLE_NAME='innodb_log_file_size';
COUNT(VARIABLE_VALUE)
1
1 Expected
'#---------------------WL6372_VAR_9_04----------------------#'
SELECT @@innodb_log_file_size = @@GLOBAL.innodb_log_file_size;
@@innodb_log_file_size = @@GLOBAL.innodb_log_file_size
1
1 Expected
SELECT COUNT(@@local.innodb_log_file_size);
ERROR HY000: Variable 'innodb_log_file_size' is a GLOBAL variable
Expected error 'Variable is a GLOBAL variable'
SELECT COUNT(@@SESSION.innodb_log_file_size);
ERROR HY000: Variable 'innodb_log_file_size' is a GLOBAL variable
Expected error 'Variable is a GLOBAL variable'
SELECT COUNT(@@GLOBAL.innodb_log_file_size);
COUNT(@@GLOBAL.innodb_log_file_size)
1
1 Expected
SELECT innodb_log_file_size = @@SESSION.innodb_log_file_size;
ERROR 42S22: Unknown column 'innodb_log_file_size' in 'field list'
Expected error 'Unknown column innodb_log_file_size in field list'
'#---------------------WL6372_VAR_9_05----------------------#'
Check the size of the vardir
The output size is in unit blocks
TRUE
TRUE Expected
'#---------------------WL6372_VAR_9_06----------------------#'
The size of the ib_logfile(0/1): 5242880 
The size of the ib_logfile(0/1): 5242880 
5242880 expected