File: aria_group_commit_basic.result

package info (click to toggle)
mariadb-10.0 10.0.30-0%2Bdeb8u2
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 474,048 kB
  • ctags: 183,740
  • sloc: cpp: 1,391,728; ansic: 831,813; perl: 59,717; sh: 36,566; pascal: 32,281; yacc: 14,921; xml: 5,257; sql: 4,660; cs: 4,647; makefile: 4,555; ruby: 4,465; python: 2,292; lex: 1,427; java: 941; asm: 295; awk: 54; php: 22; sed: 16
file content (45 lines) | stat: -rw-r--r-- 1,705 bytes parent folder | download | duplicates (11)
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
SET @start_global_value = @@global.aria_group_commit;
select @@global.aria_group_commit;
@@global.aria_group_commit
none
select @@session.aria_group_commit;
ERROR HY000: Variable 'aria_group_commit' is a GLOBAL variable
show global variables like 'aria_group_commit';
Variable_name	Value
aria_group_commit	none
show session variables like 'aria_group_commit';
Variable_name	Value
aria_group_commit	none
select * from information_schema.global_variables where variable_name='aria_group_commit';
VARIABLE_NAME	VARIABLE_VALUE
ARIA_GROUP_COMMIT	none
select * from information_schema.session_variables where variable_name='aria_group_commit';
VARIABLE_NAME	VARIABLE_VALUE
ARIA_GROUP_COMMIT	none
set global aria_group_commit=1;
select @@global.aria_group_commit;
@@global.aria_group_commit
hard
set session aria_group_commit=1;
ERROR HY000: Variable 'aria_group_commit' is a GLOBAL variable and should be set with SET GLOBAL
set global aria_group_commit=none;
select @@global.aria_group_commit;
@@global.aria_group_commit
none
set global aria_group_commit=hard;
select @@global.aria_group_commit;
@@global.aria_group_commit
hard
set global aria_group_commit=soft;
select @@global.aria_group_commit;
@@global.aria_group_commit
soft
set global aria_group_commit=1.1;
ERROR 42000: Incorrect argument type to variable 'aria_group_commit'
set global aria_group_commit=1e1;
ERROR 42000: Incorrect argument type to variable 'aria_group_commit'
set global aria_group_commit="foo";
ERROR 42000: Variable 'aria_group_commit' can't be set to the value of 'foo'
set global aria_group_commit=3;
ERROR 42000: Variable 'aria_group_commit' can't be set to the value of '3'
SET @@global.aria_group_commit = @start_global_value;