Fix the column size information for MySQL 5.5 changes

This commit is contained in:
Baron Schwartz
2012-06-03 17:30:24 -04:00
parent 2e6a2e3638
commit 219ff6b49b

View File

@@ -78,9 +78,11 @@ is_deeply(
# Test online stuff, e.g. get_cols_and_struct().
# #############################################################################
use DSNParser;
use VersionParser;
use Sandbox;
my $dp = new DSNParser(opts=>$dsn_opts);
my $sb = new Sandbox(basedir => '/tmp', DSNParser => $dp);
my $vp = new VersionParser;
my $dbh = $sb->get_dbh_for('master');
SKIP: {
@@ -170,7 +172,7 @@ SKIP: {
id => undef,
i => undef,
f => undef,
d => undef,
d => ($vp->version_ge($dbh, '5.5.1') ? '(7)' : undef),
dt => undef,
ts => undef,
c => '(1)',