Fix the test: changing charset should be dome when we can not skip the test.
This commit is contained in:
parent
98e02217c7
commit
d1a2dc54ad
@ -19,7 +19,7 @@ show create table t1;
|
|||||||
Table Create Table
|
Table Create Table
|
||||||
t1 CREATE TABLE `t1` (
|
t1 CREATE TABLE `t1` (
|
||||||
`i` int(1) NOT NULL
|
`i` int(1) NOT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
||||||
drop table t1;
|
drop table t1;
|
||||||
set debug_sync='create_table_select_before_create SIGNAL parked WAIT_FOR go';
|
set debug_sync='create_table_select_before_create SIGNAL parked WAIT_FOR go';
|
||||||
create table t1 select 1 as i;;
|
create table t1 select 1 as i;;
|
||||||
@ -36,7 +36,7 @@ show create table t1;
|
|||||||
Table Create Table
|
Table Create Table
|
||||||
t1 CREATE TABLE `t1` (
|
t1 CREATE TABLE `t1` (
|
||||||
`i` int(1) NOT NULL
|
`i` int(1) NOT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
||||||
drop table t1;
|
drop table t1;
|
||||||
create table t3 (j char(5));
|
create table t3 (j char(5));
|
||||||
set debug_sync='create_table_select_before_create SIGNAL parked WAIT_FOR go';
|
set debug_sync='create_table_select_before_create SIGNAL parked WAIT_FOR go';
|
||||||
@ -54,7 +54,7 @@ show create table t1;
|
|||||||
Table Create Table
|
Table Create Table
|
||||||
t1 CREATE TABLE `t1` (
|
t1 CREATE TABLE `t1` (
|
||||||
`i` int(1) NOT NULL
|
`i` int(1) NOT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
||||||
drop table t1;
|
drop table t1;
|
||||||
set debug_sync='create_table_select_before_create SIGNAL parked WAIT_FOR go';
|
set debug_sync='create_table_select_before_create SIGNAL parked WAIT_FOR go';
|
||||||
create table t1 select 1 as i;;
|
create table t1 select 1 as i;;
|
||||||
@ -71,7 +71,7 @@ show create table t1;
|
|||||||
Table Create Table
|
Table Create Table
|
||||||
t1 CREATE TABLE `t1` (
|
t1 CREATE TABLE `t1` (
|
||||||
`i` int(1) NOT NULL
|
`i` int(1) NOT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
||||||
drop table t1;
|
drop table t1;
|
||||||
set debug_sync='create_table_select_before_create SIGNAL parked WAIT_FOR go';
|
set debug_sync='create_table_select_before_create SIGNAL parked WAIT_FOR go';
|
||||||
create table t1 select 1 as i;;
|
create table t1 select 1 as i;;
|
||||||
@ -88,7 +88,7 @@ show create table t1;
|
|||||||
Table Create Table
|
Table Create Table
|
||||||
t1 CREATE TABLE `t1` (
|
t1 CREATE TABLE `t1` (
|
||||||
`i` int(1) NOT NULL
|
`i` int(1) NOT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
||||||
drop table t1;
|
drop table t1;
|
||||||
set debug_sync='create_table_select_before_create SIGNAL parked WAIT_FOR go';
|
set debug_sync='create_table_select_before_create SIGNAL parked WAIT_FOR go';
|
||||||
create table t1 select 1 as i;;
|
create table t1 select 1 as i;;
|
||||||
@ -105,7 +105,7 @@ show create table t1;
|
|||||||
Table Create Table
|
Table Create Table
|
||||||
t1 CREATE TABLE `t1` (
|
t1 CREATE TABLE `t1` (
|
||||||
`i` int(1) NOT NULL
|
`i` int(1) NOT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
||||||
drop table t1,t3;
|
drop table t1,t3;
|
||||||
set debug_sync='create_table_select_before_open SIGNAL parked WAIT_FOR go';
|
set debug_sync='create_table_select_before_open SIGNAL parked WAIT_FOR go';
|
||||||
connection default;
|
connection default;
|
||||||
@ -286,7 +286,7 @@ show create table t2;
|
|||||||
Table Create Table
|
Table Create Table
|
||||||
t2 CREATE TABLE `t2` (
|
t2 CREATE TABLE `t2` (
|
||||||
`i` int(11) DEFAULT NULL
|
`i` int(11) DEFAULT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
||||||
drop table t2;
|
drop table t2;
|
||||||
include/show_binlog_events.inc
|
include/show_binlog_events.inc
|
||||||
Log_name Pos Event_type Server_id End_log_pos Info
|
Log_name Pos Event_type Server_id End_log_pos Info
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
--source include/have_debug.inc
|
--source include/have_debug.inc
|
||||||
--source include/have_log_bin.inc
|
--source include/have_log_bin.inc
|
||||||
--source include/default_charset.inc
|
--source include/default_charset.inc
|
||||||
--source include/test_db_charset_latin1.inc
|
|
||||||
|
|
||||||
if (!$BIG_TEST)
|
if (!$BIG_TEST)
|
||||||
{
|
{
|
||||||
@ -12,6 +11,8 @@ if (!$BIG_TEST)
|
|||||||
# Starting with 11.7, this will hit the 900-second timeout on WITH_MSAN=ON CMAKE_BUILD_TYPE=Debug
|
# Starting with 11.7, this will hit the 900-second timeout on WITH_MSAN=ON CMAKE_BUILD_TYPE=Debug
|
||||||
--source include/not_msan.inc
|
--source include/not_msan.inc
|
||||||
|
|
||||||
|
--source include/test_db_charset_latin1.inc
|
||||||
|
|
||||||
#
|
#
|
||||||
# Testing of atomic create table with crashes in a lot of different places
|
# Testing of atomic create table with crashes in a lot of different places
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user