From: Peter Rabbitson Date: Fri, 15 Jan 2010 00:16:05 +0000 (+0000) Subject: Adjust sql-emitter tests X-Git-Tag: v0.08116~57^2~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=95c73ab2476670001bc184aca4ed9ce9fa828666;p=dbsrgits%2FDBIx-Class.git Adjust sql-emitter tests --- diff --git a/t/prefetch/double_prefetch.t b/t/prefetch/double_prefetch.t index 6142098..d82f4c4 100644 --- a/t/prefetch/double_prefetch.t +++ b/t/prefetch/double_prefetch.t @@ -27,7 +27,7 @@ is_same_sql( single_track_2.trackid, single_track_2.cd, single_track_2.position, single_track_2.title, single_track_2.last_updated_on, single_track_2.last_updated_at, single_track_2.small_dt, cd.cdid, cd.artist, cd.title, cd.year, cd.genreid, cd.single_track FROM artist me - LEFT JOIN cd cds ON cds.artist = me.artistid + JOIN cd cds ON cds.artist = me.artistid LEFT JOIN track single_track ON single_track.trackid = cds.single_track LEFT JOIN track single_track_2 ON single_track_2.trackid = cds.single_track LEFT JOIN cd cd ON cd.cdid = single_track_2.cd diff --git a/t/relationship/core.t b/t/relationship/core.t index 90e49a3..62776fa 100644 --- a/t/relationship/core.t +++ b/t/relationship/core.t @@ -268,7 +268,7 @@ is_same_sql_bind ( '( SELECT artist_undirected_maps.id1, artist_undirected_maps.id2 FROM artist me - LEFT JOIN artist_undirected_map artist_undirected_maps + JOIN artist_undirected_map artist_undirected_maps ON artist_undirected_maps.id1 = me.artistid OR artist_undirected_maps.id2 = me.artistid WHERE ( artistid = ? ) )',