mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-14 01:00:23 +08:00
PT-572 Fixes for MySQL 8
- Updated sandbox data file - Fixes for pt-upgrade since there is no query_cache in MySQL 8 - Updates for SchemaIterator since there are new/renamed tables in MySQL 8 - Disabled some tests due to errors in MySQL 8.0.4-rc
This commit is contained in:
@@ -105,7 +105,7 @@ ok(
|
||||
|
||||
$row = $master_dbh->selectrow_arrayref("select count(*) from percona.checksums");
|
||||
|
||||
my $max_rows = $sandbox_version < '5.7' ? 90 : 100;
|
||||
my $max_rows = $sandbox_version >= '8.0' ? 102 : $sandbox_version < '5.7' ? 90 : 100;
|
||||
ok(
|
||||
$row->[0] >= 75 && $row->[0] <= $max_rows,
|
||||
'Between 75 and 90 chunks on master'
|
||||
@@ -434,7 +434,7 @@ is(
|
||||
# Test --where.
|
||||
# #############################################################################
|
||||
$sb->load_file('master', 't/pt-table-checksum/samples/600cities.sql');
|
||||
$master_dbh->do("LOAD DATA LOCAL INFILE '$trunk/t/pt-table-checksum/samples/600cities.data' INTO TABLE test.t");
|
||||
$master_dbh->do("LOAD DATA INFILE '$trunk/t/pt-table-checksum/samples/600cities.data' INTO TABLE test.t");
|
||||
|
||||
$output = output(
|
||||
sub { $exit_status = pt_table_checksum::main(@args,
|
||||
|
||||
50
t/pt-table-checksum/samples/default-results-8.0.txt
Normal file
50
t/pt-table-checksum/samples/default-results-8.0.txt
Normal file
@@ -0,0 +1,50 @@
|
||||
if all tables be ...
|
||||
checksum ...
|
||||
ERRORS DIFFS ROWS SKIPPED TABLE
|
||||
0 0 0 0 mysql.columns_priv
|
||||
0 0 0 0 mysql.component
|
||||
0 0 2 0 mysql.db
|
||||
0 0 0 0 mysql.default_roles
|
||||
0 1 2 0 mysql.engine_cost
|
||||
0 0 0 0 mysql.func
|
||||
0 0 26 0 mysql.global_grants
|
||||
0 0 40 0 mysql.help_category
|
||||
0 0 696 0 mysql.help_keyword
|
||||
0 0 1471 0 mysql.help_relation
|
||||
0 0 644 0 mysql.help_topic
|
||||
0 0 0 0 mysql.innodb_ddl_log
|
||||
0 0 0 0 mysql.innodb_dynamic_metadata
|
||||
0 0 0 0 mysql.password_history
|
||||
0 0 0 0 mysql.plugin
|
||||
0 0 0 0 mysql.procs_priv
|
||||
0 0 1 0 mysql.proxies_priv
|
||||
0 0 0 0 mysql.role_edges
|
||||
0 1 6 0 mysql.server_cost
|
||||
0 0 0 0 mysql.servers
|
||||
0 1 2 0 mysql.tables_priv
|
||||
0 0 0 0 mysql.time_zone
|
||||
0 0 0 0 mysql.time_zone_leap_second
|
||||
0 0 0 0 mysql.time_zone_name
|
||||
0 0 0 0 mysql.time_zone_transition
|
||||
0 0 0 0 mysql.time_zone_transition_type
|
||||
0 1 5 0 mysql.user
|
||||
0 0 27 0 percona_test.checksums
|
||||
0 0 1 0 percona_test.load_data
|
||||
0 0 1 0 percona_test.sentinel
|
||||
0 0 200 0 sakila.actor
|
||||
0 0 603 0 sakila.address
|
||||
0 0 16 0 sakila.category
|
||||
0 0 600 0 sakila.city
|
||||
0 0 109 0 sakila.country
|
||||
0 0 599 0 sakila.customer
|
||||
0 0 1000 0 sakila.film
|
||||
0 0 5462 0 sakila.film_actor
|
||||
0 0 1000 0 sakila.film_category
|
||||
0 0 1000 0 sakila.film_text
|
||||
0 0 4581 0 sakila.inventory
|
||||
0 0 6 0 sakila.language
|
||||
0 0 16049 0 sakila.payment
|
||||
0 0 16044 0 sakila.rental
|
||||
0 0 2 0 sakila.staff
|
||||
0 0 2 0 sakila.store
|
||||
0 0 6 0 sys.sys_config
|
||||
@@ -0,0 +1,50 @@
|
||||
if all tables can be ...
|
||||
checksum ...
|
||||
ERRORS DIFFS ROWS CHUNKS SKIPPED TABLE
|
||||
0 0 0 1 0 mysql.columns_priv
|
||||
0 0 0 1 0 mysql.component
|
||||
0 0 2 1 0 mysql.db
|
||||
0 0 0 1 0 mysql.default_roles
|
||||
0 1 2 1 0 mysql.engine_cost
|
||||
0 0 0 1 0 mysql.func
|
||||
0 0 26 1 0 mysql.global_grants
|
||||
0 0 40 1 0 mysql.help_category
|
||||
0 0 696 1 0 mysql.help_keyword
|
||||
0 0 1471 1 0 mysql.help_relation
|
||||
0 0 644 1 0 mysql.help_topic
|
||||
0 0 0 1 0 mysql.innodb_ddl_log
|
||||
0 0 0 1 0 mysql.innodb_dynamic_metadata
|
||||
0 0 0 1 0 mysql.password_history
|
||||
0 0 0 1 0 mysql.plugin
|
||||
0 0 0 1 0 mysql.procs_priv
|
||||
0 0 1 1 0 mysql.proxies_priv
|
||||
0 0 0 1 0 mysql.role_edges
|
||||
0 1 6 1 0 mysql.server_cost
|
||||
0 0 0 1 0 mysql.servers
|
||||
0 1 2 1 0 mysql.tables_priv
|
||||
0 0 0 1 0 mysql.time_zone
|
||||
0 0 0 1 0 mysql.time_zone_leap_second
|
||||
0 0 0 1 0 mysql.time_zone_name
|
||||
0 0 0 1 0 mysql.time_zone_transition
|
||||
0 0 0 1 0 mysql.time_zone_transition_type
|
||||
0 1 5 1 0 mysql.user
|
||||
0 0 27 1 0 percona_test.checksums
|
||||
0 0 1 1 0 percona_test.load_data
|
||||
0 0 1 1 0 percona_test.sentinel
|
||||
0 0 200 1 0 sakila.actor
|
||||
0 0 603 1 0 sakila.address
|
||||
0 0 16 1 0 sakila.category
|
||||
0 0 600 1 0 sakila.city
|
||||
0 0 109 1 0 sakila.country
|
||||
0 0 599 1 0 sakila.customer
|
||||
0 0 1000 1 0 sakila.film
|
||||
0 0 5462 8 0 sakila.film_actor
|
||||
0 0 1000 1 0 sakila.film_category
|
||||
0 0 1000 1 0 sakila.film_text
|
||||
0 0 4581 7 0 sakila.inventory
|
||||
0 0 6 1 0 sakila.language
|
||||
0 0 16049 19 0 sakila.payment
|
||||
0 0 16044 19 0 sakila.rental
|
||||
0 0 2 1 0 sakila.staff
|
||||
0 0 2 1 0 sakila.store
|
||||
0 0 6 1 0 sys.sys_config
|
||||
Reference in New Issue
Block a user