[Bast-commits] r7181 -
DBIx-Class/0.08/branches/mssql_storage_minor_refactor/t/prefetch
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Mon Aug 3 12:23:38 GMT 2009
Author: ribasushi
Date: 2009-08-03 12:23:37 +0000 (Mon, 03 Aug 2009)
New Revision: 7181
Modified:
DBIx-Class/0.08/branches/mssql_storage_minor_refactor/t/prefetch/double_prefetch.t
DBIx-Class/0.08/branches/mssql_storage_minor_refactor/t/prefetch/grouped.t
Log:
Adjust expected sql to match the new 'Track' table definition
Modified: DBIx-Class/0.08/branches/mssql_storage_minor_refactor/t/prefetch/double_prefetch.t
===================================================================
--- DBIx-Class/0.08/branches/mssql_storage_minor_refactor/t/prefetch/double_prefetch.t 2009-08-03 12:00:32 UTC (rev 7180)
+++ DBIx-Class/0.08/branches/mssql_storage_minor_refactor/t/prefetch/double_prefetch.t 2009-08-03 12:23:37 UTC (rev 7181)
@@ -23,8 +23,8 @@
'(
SELECT
cds.cdid, cds.artist, cds.title, cds.year, cds.genreid, cds.single_track,
- single_track.trackid, single_track.cd, single_track.position, single_track.title, single_track.last_updated_on, single_track.last_updated_at,
- 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.trackid, single_track.cd, single_track.position, single_track.title, single_track.last_updated_on, single_track.last_updated_at, single_track.small_dt,
+ 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
Modified: DBIx-Class/0.08/branches/mssql_storage_minor_refactor/t/prefetch/grouped.t
===================================================================
--- DBIx-Class/0.08/branches/mssql_storage_minor_refactor/t/prefetch/grouped.t 2009-08-03 12:00:32 UTC (rev 7180)
+++ DBIx-Class/0.08/branches/mssql_storage_minor_refactor/t/prefetch/grouped.t 2009-08-03 12:23:37 UTC (rev 7181)
@@ -163,7 +163,9 @@
is_same_sql_bind (
$most_tracks_rs->as_query,
'(
- SELECT me.cdid, me.track_count, tracks.trackid, tracks.cd, tracks.position, tracks.title, tracks.last_updated_on, tracks.last_updated_at, liner_notes.liner_id, liner_notes.notes
+ SELECT me.cdid, me.track_count,
+ tracks.trackid, tracks.cd, tracks.position, tracks.title, tracks.last_updated_on, tracks.last_updated_at, tracks.small_dt,
+ liner_notes.liner_id, liner_notes.notes
FROM (
SELECT me.cdid, COUNT( tracks.trackid ) AS track_count
FROM cd me
More information about the Bast-commits
mailing list