t/sqlmaker/limit_dialects/toplimit.t - add missing me.id - fairly sure this was a bug
Matt S Trout [Sat, 12 Oct 2013 16:18:27 +0000 (16:18 +0000)]
t/sqlmaker/limit_dialects/toplimit.t

index 40fea57..c707ed3 100644 (file)
@@ -70,7 +70,7 @@ is_same_sql_bind(
             ( SELECT COUNT( * )
                 FROM owners owner
                WHERE ( count.id = owner.id )
-            ) AS owner_books
+            ) AS owner_books, me.id
               FROM books me
               JOIN owners owner ON owner.id = me.owner
              WHERE ( source = ? )