mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-12 22:19:44 +00:00
Fix the column size information for MySQL 5.5 changes
This commit is contained in:
@@ -78,9 +78,11 @@ is_deeply(
|
|||||||
# Test online stuff, e.g. get_cols_and_struct().
|
# Test online stuff, e.g. get_cols_and_struct().
|
||||||
# #############################################################################
|
# #############################################################################
|
||||||
use DSNParser;
|
use DSNParser;
|
||||||
|
use VersionParser;
|
||||||
use Sandbox;
|
use Sandbox;
|
||||||
my $dp = new DSNParser(opts=>$dsn_opts);
|
my $dp = new DSNParser(opts=>$dsn_opts);
|
||||||
my $sb = new Sandbox(basedir => '/tmp', DSNParser => $dp);
|
my $sb = new Sandbox(basedir => '/tmp', DSNParser => $dp);
|
||||||
|
my $vp = new VersionParser;
|
||||||
my $dbh = $sb->get_dbh_for('master');
|
my $dbh = $sb->get_dbh_for('master');
|
||||||
|
|
||||||
SKIP: {
|
SKIP: {
|
||||||
@@ -170,7 +172,7 @@ SKIP: {
|
|||||||
id => undef,
|
id => undef,
|
||||||
i => undef,
|
i => undef,
|
||||||
f => undef,
|
f => undef,
|
||||||
d => undef,
|
d => ($vp->version_ge($dbh, '5.5.1') ? '(7)' : undef),
|
||||||
dt => undef,
|
dt => undef,
|
||||||
ts => undef,
|
ts => undef,
|
||||||
c => '(1)',
|
c => '(1)',
|
||||||
|
Reference in New Issue
Block a user