X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fbindtype_columns.t;h=d88815deb067b1b4b3dd7a34dd8b2bfac4346263;hb=7af8b477f07d8ae5b759a285ae95d0c0f1697c8a;hp=2100cca6b6dc7a0cef70adc9f797924f7aae7a16;hpb=6e399b4faae26e6661c8bd734a31e619c97b78b8;p=dbsrgits%2FDBIx-Class.git diff --git a/t/bindtype_columns.t b/t/bindtype_columns.t index 2100cca..d88815d 100644 --- a/t/bindtype_columns.t +++ b/t/bindtype_columns.t @@ -9,19 +9,6 @@ my $schema = DBICTest->init_schema(); plan tests => 2; -# figure out if we've got a version of sqlite that is older than 3.2.6, in -# which case COUNT(DISTINCT()) doesn't work -my $is_broken_sqlite = 0; -my ($sqlite_major_ver,$sqlite_minor_ver,$sqlite_patch_ver) = - split /\./, $schema->storage->dbh->get_info(18); -if( $schema->storage->dbh->get_info(17) eq 'SQLite' && - ( ($sqlite_major_ver < 3) || - ($sqlite_major_ver == 3 && $sqlite_minor_ver < 2) || - ($sqlite_major_ver == 3 && $sqlite_minor_ver == 2 && $sqlite_patch_ver < 6) ) ) { - $is_broken_sqlite = 1; -} - - #Bindtest { my $new = $schema->resultset("Artist")->new({ @@ -38,4 +25,3 @@ if( $schema->storage->dbh->get_info(17) eq 'SQLite' && is($resultset->name, 'JohnNapiorkowski', 'Testing New Name'); } -