mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
enable main.mysqldump-system test
This commit is contained in:
parent
6009f9b859
commit
4c2c1e6185
3 changed files with 5 additions and 4 deletions
|
@ -20,4 +20,3 @@ partition_open_files_limit : open_files_limit check broken by MDEV-18360
|
|||
partition_innodb : Waiting for fix MDEV-20169
|
||||
type_enum : Waiting for fix MDEV-6978
|
||||
type_set : Waiting for fix MDEV-6978
|
||||
mysqldump-system : FIXME nondeterministic
|
||||
|
|
|
@ -32,6 +32,7 @@ delete from mysql.column_stats where column_name!='Time_zone_id';
|
|||
set time_zone="+03:00";
|
||||
update mysql.innodb_index_stats set last_update="2020-01-01" where database_name="mysql" and table_name="tz";
|
||||
update mysql.innodb_table_stats set last_update="2020-01-01" where database_name="mysql" and table_name="tz";
|
||||
update mysql.column_stats set histogram=json_replace(histogram, '$.collected_at', '2020-01-02 03:04:05 UTC', '$.collected_by', 'this very version');
|
||||
set global innodb_stats_persistent= @save_innodb_stats_persistent;
|
||||
alter table mysql.time_zone_name ORDER BY Name;
|
||||
CREATE SERVER s1 FOREIGN DATA WRAPPER mysql OPTIONS(Host 'localhost');
|
||||
|
@ -94,7 +95,7 @@ USE mysql;
|
|||
LOCK TABLES `column_stats` WRITE;
|
||||
/*!40000 ALTER TABLE `column_stats` DISABLE KEYS */;
|
||||
REPLACE INTO `column_stats` VALUES
|
||||
('mysql','tz','Time_zone_id','1','5',0.0000,4.0000,98.2500,254,'DOUBLE_PREC_HB','\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0<><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ');
|
||||
('mysql','tz','Time_zone_id','1','5',0.0000,4.0000,98.2500,4,'JSON_HB','{\"target_histogram_size\": 254, \"collected_at\": \"2020-01-02 03:04:05 UTC\", \"collected_by\": \"this very version\", \"histogram_hb\": [{\"start\": \"1\", \"size\": 0.340966921, \"ndv\": 1}, {\"start\": \"3\", \"size\": 0.328244275, \"ndv\": 1}, {\"start\": \"4\", \"size\": 0.328244275, \"ndv\": 1}, {\"start\": \"5\", \"end\": \"5\", \"size\": 0.002544529, \"ndv\": 1}]}');
|
||||
/*!40000 ALTER TABLE `column_stats` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
|
@ -708,7 +709,7 @@ USE mysql;
|
|||
LOCK TABLES `column_stats` WRITE;
|
||||
/*!40000 ALTER TABLE `column_stats` DISABLE KEYS */;
|
||||
REPLACE INTO `column_stats` VALUES
|
||||
('mysql','tz','Time_zone_id','1','5',0.0000,4.0000,98.2500,254,'DOUBLE_PREC_HB','\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0<><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ');
|
||||
('mysql','tz','Time_zone_id','1','5',0.0000,4.0000,98.2500,4,'JSON_HB','{\"target_histogram_size\": 254, \"collected_at\": \"2020-01-02 03:04:05 UTC\", \"collected_by\": \"this very version\", \"histogram_hb\": [{\"start\": \"1\", \"size\": 0.340966921, \"ndv\": 1}, {\"start\": \"3\", \"size\": 0.328244275, \"ndv\": 1}, {\"start\": \"4\", \"size\": 0.328244275, \"ndv\": 1}, {\"start\": \"5\", \"end\": \"5\", \"size\": 0.002544529, \"ndv\": 1}]}');
|
||||
/*!40000 ALTER TABLE `column_stats` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
|
@ -1299,7 +1300,7 @@ USE mysql;
|
|||
LOCK TABLES `column_stats` WRITE;
|
||||
/*!40000 ALTER TABLE `column_stats` DISABLE KEYS */;
|
||||
INSERT IGNORE INTO `column_stats` VALUES
|
||||
('mysql','tz','Time_zone_id','1','5',0.0000,4.0000,98.2500,254,'DOUBLE_PREC_HB','\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0<><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ<EFBFBD>ソ');
|
||||
('mysql','tz','Time_zone_id','1','5',0.0000,4.0000,98.2500,4,'JSON_HB','{\"target_histogram_size\": 254, \"collected_at\": \"2020-01-02 03:04:05 UTC\", \"collected_by\": \"this very version\", \"histogram_hb\": [{\"start\": \"1\", \"size\": 0.340966921, \"ndv\": 1}, {\"start\": \"3\", \"size\": 0.328244275, \"ndv\": 1}, {\"start\": \"4\", \"size\": 0.328244275, \"ndv\": 1}, {\"start\": \"5\", \"end\": \"5\", \"size\": 0.002544529, \"ndv\": 1}]}');
|
||||
/*!40000 ALTER TABLE `column_stats` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
|
|
|
@ -50,6 +50,7 @@ delete from mysql.column_stats where column_name!='Time_zone_id';
|
|||
set time_zone="+03:00";
|
||||
update mysql.innodb_index_stats set last_update="2020-01-01" where database_name="mysql" and table_name="tz";
|
||||
update mysql.innodb_table_stats set last_update="2020-01-01" where database_name="mysql" and table_name="tz";
|
||||
update mysql.column_stats set histogram=json_replace(histogram, '$.collected_at', '2020-01-02 03:04:05 UTC', '$.collected_by', 'this very version');
|
||||
set global innodb_stats_persistent= @save_innodb_stats_persistent;
|
||||
alter table mysql.time_zone_name ORDER BY Name;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue