File: innodb_autoinc_lock_mode_basic.result

package info (click to toggle)
mysql-5.5 5.5.42-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 201,212 kB
  • sloc: cpp: 646,036; ansic: 551,342; perl: 53,243; pascal: 25,099; yacc: 13,059; sh: 10,248; cs: 4,647; xml: 4,178; sql: 3,193; makefile: 1,368; lex: 639; awk: 54
file content (35 lines) | stat: -rw-r--r-- 1,269 bytes parent folder | download | duplicates (12)
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
SET @global_start_value = @@global.innodb_autoinc_lock_mode;
SELECT @global_start_value;
@global_start_value
1
'#--------------------FN_DYNVARS_046_01------------------------#'
SET @@global.innodb_autoinc_lock_mode = 0;
ERROR HY000: Variable 'innodb_autoinc_lock_mode' is a read only variable
SET @@global.innodb_autoinc_lock_mode = DEFAULT;
ERROR HY000: Variable 'innodb_autoinc_lock_mode' is a read only variable
SELECT @@global.innodb_autoinc_lock_mode;
@@global.innodb_autoinc_lock_mode
1
'#---------------------FN_DYNVARS_046_02-------------------------#'
SELECT @@innodb_autoinc_lock_mode;
@@innodb_autoinc_lock_mode
1
SELECT local.innodb_autoinc_lock_mode;
ERROR 42S02: Unknown table 'local' in field list
SELECT @@global.innodb_autoinc_lock_mode;
@@global.innodb_autoinc_lock_mode
1
'#----------------------FN_DYNVARS_046_03------------------------#'
SELECT @@global.innodb_autoinc_lock_mode = VARIABLE_VALUE 
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
WHERE VARIABLE_NAME='innodb_autoinc_lock_mode';
@@global.innodb_autoinc_lock_mode = VARIABLE_VALUE
1
SELECT @@global.innodb_autoinc_lock_mode;
@@global.innodb_autoinc_lock_mode
1
SELECT VARIABLE_VALUE 
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
WHERE VARIABLE_NAME='innodb_autoinc_lock_mode';
VARIABLE_VALUE
1