[Bast-commits] r8312 - in
DBIx-Class/0.08/branches/null_column_regression/t: prefetch
relationship
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Fri Jan 15 00:16:06 GMT 2010
Author: ribasushi
Date: 2010-01-15 00:16:05 +0000 (Fri, 15 Jan 2010)
New Revision: 8312
Modified:
DBIx-Class/0.08/branches/null_column_regression/t/prefetch/double_prefetch.t
DBIx-Class/0.08/branches/null_column_regression/t/relationship/core.t
Log:
Adjust sql-emitter tests
Modified: DBIx-Class/0.08/branches/null_column_regression/t/prefetch/double_prefetch.t
===================================================================
--- DBIx-Class/0.08/branches/null_column_regression/t/prefetch/double_prefetch.t 2010-01-15 00:15:33 UTC (rev 8311)
+++ DBIx-Class/0.08/branches/null_column_regression/t/prefetch/double_prefetch.t 2010-01-15 00:16:05 UTC (rev 8312)
@@ -27,7 +27,7 @@
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
Modified: DBIx-Class/0.08/branches/null_column_regression/t/relationship/core.t
===================================================================
--- DBIx-Class/0.08/branches/null_column_regression/t/relationship/core.t 2010-01-15 00:15:33 UTC (rev 8311)
+++ DBIx-Class/0.08/branches/null_column_regression/t/relationship/core.t 2010-01-15 00:16:05 UTC (rev 8312)
@@ -268,7 +268,7 @@
'(
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 = ? )
)',
More information about the Bast-commits
mailing list