PT-2340 - Support MySQL 8.4

- Updated modules and tests for pt-table-sync, pt-table-usage, pt-upgrade, pt-variable-advisor
This commit is contained in:
Sveta Smirnova
2024-08-03 17:03:48 +03:00
parent 56599f01ad
commit a38bee6d60
69 changed files with 1442 additions and 1304 deletions

View File

@@ -17,12 +17,12 @@ require "$trunk/bin/pt-table-sync";
my $dp = new DSNParser(opts=>$dsn_opts);
my $sb = new Sandbox(basedir => '/tmp', DSNParser => $dp);
my $dbh = $sb->get_dbh_for('master');
my $dbh = $sb->get_dbh_for('source');
plan skip_all => 'Pending solution: waiting for the PT-2338 fix';
if ( !$dbh ) {
plan skip_all => 'Cannot connect to sandbox master';
plan skip_all => 'Cannot connect to sandbox source';
}
else {
plan tests => 4;
@@ -33,7 +33,7 @@ else {
# conflict when using Chunk or Nibble.
# #############################################################################
$sb->wipe_clean($dbh);
$sb->load_file('master', 't/pt-table-sync/samples/issue_920.sql');
$sb->load_file('source', 't/pt-table-sync/samples/issue_920.sql');
pt_table_sync::main(qw(--execute -F /tmp/12345/my.sandbox.cnf),
'D=issue_920,t=PK_UK_test', 'D=issue_920,t=PK_UK_test_2');