Commit 240afacf authored by Magne Mahre's avatar Magne Mahre

Post-push fixup for WL#5349

InnoDB came in a new version "simultanously" with the
commit.  This patch is a minor change to the new innodb
regression test suite. 
parent e194e983
--default-storage-engine=MyISAM
--innodb-strict-mode=0
--innodb-file-per-table=0
--default-storage-engine=MyISAM
--innodb-strict-mode=0
--innodb-file-per-table=0
--binlog_cache_size=32768 --innodb_lock_wait_timeout=1 --binlog_cache_size=32768 --innodb_lock_wait_timeout=1
--default-storage-engine=MyISAM
--innodb-strict-mode=0
--innodb-file-per-table=0
--default-storage-engine=MyISAM
--innodb-strict-mode=0
--innodb-file-per-table=0
--skip-external-locking --skip-external-locking
--default-storage-engine=MyISAM
--default-storage-engine=MyISAM
--innodb-file-per-table=0
--sync-relay-log-info=1 --relay-log-recovery=1 --innodb_file_format_check='ON' --sync-relay-log-info=1 --relay-log-recovery=1 --innodb_file_format_check='ON' --default-storage-engine=MyISAM --innodb-file-per-table=0
SET @start_global_value = @@global.innodb_file_format; SET @start_global_value = @@global.innodb_file_format;
SELECT @start_global_value; SELECT @start_global_value;
@start_global_value @start_global_value
Antelope Barracuda
Valid values are 'Antelope' and 'Barracuda' Valid values are 'Antelope' and 'Barracuda'
select @@global.innodb_file_format in ('Antelope', 'Barracuda'); select @@global.innodb_file_format in ('Antelope', 'Barracuda');
@@global.innodb_file_format in ('Antelope', 'Barracuda') @@global.innodb_file_format in ('Antelope', 'Barracuda')
1 1
select @@global.innodb_file_format; select @@global.innodb_file_format;
@@global.innodb_file_format @@global.innodb_file_format
Antelope Barracuda
select @@session.innodb_file_format; select @@session.innodb_file_format;
ERROR HY000: Variable 'innodb_file_format' is a GLOBAL variable ERROR HY000: Variable 'innodb_file_format' is a GLOBAL variable
show global variables like 'innodb_file_format'; show global variables like 'innodb_file_format';
Variable_name Value Variable_name Value
innodb_file_format Antelope innodb_file_format Barracuda
show session variables like 'innodb_file_format'; show session variables like 'innodb_file_format';
Variable_name Value Variable_name Value
innodb_file_format Antelope innodb_file_format Barracuda
select * from information_schema.global_variables where variable_name='innodb_file_format'; select * from information_schema.global_variables where variable_name='innodb_file_format';
VARIABLE_NAME VARIABLE_VALUE VARIABLE_NAME VARIABLE_VALUE
INNODB_FILE_FORMAT Antelope INNODB_FILE_FORMAT Barracuda
select * from information_schema.session_variables where variable_name='innodb_file_format'; select * from information_schema.session_variables where variable_name='innodb_file_format';
VARIABLE_NAME VARIABLE_VALUE VARIABLE_NAME VARIABLE_VALUE
INNODB_FILE_FORMAT Antelope INNODB_FILE_FORMAT Barracuda
set global innodb_file_format='Antelope'; set global innodb_file_format='Antelope';
select @@global.innodb_file_format; select @@global.innodb_file_format;
@@global.innodb_file_format @@global.innodb_file_format
...@@ -56,4 +56,4 @@ ERROR 42000: Variable 'innodb_file_format' can't be set to the value of 'Salmon' ...@@ -56,4 +56,4 @@ ERROR 42000: Variable 'innodb_file_format' can't be set to the value of 'Salmon'
SET @@global.innodb_file_format = @start_global_value; SET @@global.innodb_file_format = @start_global_value;
SELECT @@global.innodb_file_format; SELECT @@global.innodb_file_format;
@@global.innodb_file_format @@global.innodb_file_format
Antelope Barracuda
SET @start_global_value = @@global.innodb_strict_mode; SET @start_global_value = @@global.innodb_strict_mode;
SELECT @start_global_value; SELECT @start_global_value;
@start_global_value @start_global_value
0 1
Valid values are 'ON' and 'OFF' Valid values are 'ON' and 'OFF'
select @@global.innodb_strict_mode in (0, 1); select @@global.innodb_strict_mode in (0, 1);
@@global.innodb_strict_mode in (0, 1) @@global.innodb_strict_mode in (0, 1)
1 1
select @@global.innodb_strict_mode; select @@global.innodb_strict_mode;
@@global.innodb_strict_mode @@global.innodb_strict_mode
0 1
select @@session.innodb_strict_mode in (0, 1); select @@session.innodb_strict_mode in (0, 1);
@@session.innodb_strict_mode in (0, 1) @@session.innodb_strict_mode in (0, 1)
1 1
select @@session.innodb_strict_mode; select @@session.innodb_strict_mode;
@@session.innodb_strict_mode @@session.innodb_strict_mode
0 1
show global variables like 'innodb_strict_mode'; show global variables like 'innodb_strict_mode';
Variable_name Value Variable_name Value
innodb_strict_mode OFF innodb_strict_mode ON
show session variables like 'innodb_strict_mode'; show session variables like 'innodb_strict_mode';
Variable_name Value Variable_name Value
innodb_strict_mode OFF innodb_strict_mode ON
select * from information_schema.global_variables where variable_name='innodb_strict_mode'; select * from information_schema.global_variables where variable_name='innodb_strict_mode';
VARIABLE_NAME VARIABLE_VALUE VARIABLE_NAME VARIABLE_VALUE
INNODB_STRICT_MODE OFF INNODB_STRICT_MODE ON
select * from information_schema.session_variables where variable_name='innodb_strict_mode'; select * from information_schema.session_variables where variable_name='innodb_strict_mode';
VARIABLE_NAME VARIABLE_VALUE VARIABLE_NAME VARIABLE_VALUE
INNODB_STRICT_MODE OFF INNODB_STRICT_MODE ON
set global innodb_strict_mode='OFF'; set global innodb_strict_mode='OFF';
set session innodb_strict_mode='OFF'; set session innodb_strict_mode='OFF';
select @@global.innodb_strict_mode; select @@global.innodb_strict_mode;
...@@ -117,4 +117,4 @@ INNODB_STRICT_MODE ON ...@@ -117,4 +117,4 @@ INNODB_STRICT_MODE ON
SET @@global.innodb_strict_mode = @start_global_value; SET @@global.innodb_strict_mode = @start_global_value;
SELECT @@global.innodb_strict_mode; SELECT @@global.innodb_strict_mode;
@@global.innodb_strict_mode @@global.innodb_strict_mode
0 1
SET @start_global_value = @@global.storage_engine; SET @start_global_value = @@global.storage_engine;
SELECT @start_global_value; SELECT @start_global_value;
@start_global_value @start_global_value
MyISAM InnoDB
SET @start_session_value = @@session.storage_engine; SET @start_session_value = @@session.storage_engine;
SELECT @start_session_value; SELECT @start_session_value;
@start_session_value @start_session_value
MyISAM InnoDB
'#--------------------FN_DYNVARS_005_01-------------------------#' '#--------------------FN_DYNVARS_005_01-------------------------#'
SET @@global.storage_engine = INNODB; SET @@global.storage_engine = INNODB;
SET @@global.storage_engine = DEFAULT; SET @@global.storage_engine = DEFAULT;
SELECT @@global.storage_engine; SELECT @@global.storage_engine;
@@global.storage_engine @@global.storage_engine
MyISAM InnoDB
SET @@session.storage_engine = INNODB; SET @@session.storage_engine = INNODB;
SET @@session.storage_engine = DEFAULT; SET @@session.storage_engine = DEFAULT;
SELECT @@session.storage_engine; SELECT @@session.storage_engine;
@@session.storage_engine @@session.storage_engine
MyISAM InnoDB
'#--------------------FN_DYNVARS_005_02-------------------------#' '#--------------------FN_DYNVARS_005_02-------------------------#'
SET @@global.storage_engine = MYISAM; SET @@global.storage_engine = MYISAM;
SELECT @@global.storage_engine; SELECT @@global.storage_engine;
...@@ -110,8 +110,8 @@ SET @@storage_engine = @start_global_value; ...@@ -110,8 +110,8 @@ SET @@storage_engine = @start_global_value;
SET @@global.storage_engine = @start_global_value; SET @@global.storage_engine = @start_global_value;
SELECT @@global.storage_engine; SELECT @@global.storage_engine;
@@global.storage_engine @@global.storage_engine
MyISAM InnoDB
SET @@session.storage_engine = @start_session_value; SET @@session.storage_engine = @start_session_value;
SELECT @@session.storage_engine; SELECT @@session.storage_engine;
@@session.storage_engine @@session.storage_engine
MyISAM InnoDB
--skip-stack-trace --skip-core-file --skip-stack-trace --skip-core-file
--default-storage-engine=MyISAM
--innodb-file-per-table=0
--default-storage-engine=MyISAM
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment