From: Peter Rabbitson Date: Fri, 15 Jan 2010 00:25:10 +0000 (+0000) Subject: One more sql-test fix and changes X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8baabfd829beb0870a097dac8e2dd6fb69c04ae8;p=dbsrgits%2FDBIx-Class-Historic.git One more sql-test fix and changes --- diff --git a/Changes b/Changes index 359cb56..a7c383b 100644 --- a/Changes +++ b/Changes @@ -13,6 +13,8 @@ Revision history for DBIx::Class - Fix regression in context sensitiveness of deployment_statements - Fix regression resulting in overcomplicated query on search_related from prefetching resultsets + - Fix regression on all-null returning searches (properly switch + LEFT JOIN to JOIN in order to distinguish between both cases) - Better isolation of RNO-limited queries from the rest of a prefetching resultset - New MSSQL specific resultset attribute to allow hacky ordered diff --git a/t/search/related_strip_prefetch.t b/t/search/related_strip_prefetch.t index 10621ae..c65e696 100644 --- a/t/search/related_strip_prefetch.t +++ b/t/search/related_strip_prefetch.t @@ -31,7 +31,7 @@ is_same_sql_bind ( ) me JOIN artist artist ON artist.artistid = me.artist LEFT JOIN track tracks ON tracks.cd = me.cdid - LEFT JOIN tags tags ON tags.cd = me.cdid + JOIN tags tags ON tags.cd = me.cdid WHERE ( tags.tag IS NOT NULL ) GROUP BY tags.tagid, tags.cd, tags.tag )',