X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fprefetch%2Fattrs_untouched.t;h=53894b8a55c9517f7299eee39ae40a8ca18dda33;hb=1cc3ce1eef3deb794a2b2dd4cff166b91145e7c4;hp=17427702d9e172f8443c73fb732df7fb8a081425;hpb=82a8f76f2944c119c6a1c7d85f4c29d5466633b6;p=dbsrgits%2FDBIx-Class.git diff --git a/t/prefetch/attrs_untouched.t b/t/prefetch/attrs_untouched.t index 1742770..53894b8 100644 --- a/t/prefetch/attrs_untouched.t +++ b/t/prefetch/attrs_untouched.t @@ -19,18 +19,6 @@ BEGIN { : ( tests => 3 ); } -# 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; -} - # bug in 0.07000 caused attr (join/prefetch) to be modifed by search # so we check the search & attr arrays are not modified my $search = { 'artist.name' => 'Caterwauler McCrae' };