X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=blobdiff_plain;f=t%2Fprefetch%2Fwith_limit.t;h=9012a9a4948e697e247a919702e1bedbc63a1f4d;hp=1d2aa84ff5dc2aeb905269374bb1861b70c992a3;hb=c97338007ede15e7c62095a642b3de382a3508bd;hpb=571df6765aada245c9882a358cd4269541a178b4 diff --git a/t/prefetch/with_limit.t b/t/prefetch/with_limit.t index 1d2aa84..9012a9a 100644 --- a/t/prefetch/with_limit.t +++ b/t/prefetch/with_limit.t @@ -81,7 +81,7 @@ is_same_sql_bind ( WHERE artwork.cd_id IS NULL OR tracks.title != ? GROUP BY me.artistid + ?, me.artistid, me.name, cds.cdid, cds.artist, cds.title, cds.year, cds.genreid, cds.single_track - ORDER BY name DESC + ORDER BY name DESC, cds.artist, cds.year ASC )', [ $bind_int_resolved->(), # outer select @@ -190,7 +190,7 @@ is_same_sql_bind ( JOIN artist artist ON artist.artistid = me.artist WHERE ( ( artist.name = ? AND me.year = ? ) ) - ORDER BY me.cdid + ORDER BY tracks.cd )', [ [ { sqlt_datatype => 'varchar', sqlt_size => 100, dbic_colname => 'artist.name' } => 'foo' ],