From: Arthur Axel 'fREW' Schmidt Date: Wed, 17 Oct 2012 14:01:23 +0000 (-0500) Subject: Add (now passing) reassembly test X-Git-Tag: v1.74~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a710744fa9246e2f9710a1f87fe9c1278afb5ad9;p=dbsrgits%2FSQL-Abstract.git Add (now passing) reassembly test --- diff --git a/t/14roundtrippin.t b/t/14roundtrippin.t index 7334d31..c197f63 100644 --- a/t/14roundtrippin.t +++ b/t/14roundtrippin.t @@ -22,6 +22,7 @@ my @sql = ( "SELECT * FROM (SELECT SUM (CASE WHEN me.artist = 'foo' THEN 1 ELSE 0 END AS artist_sum) FROM foobar) WHERE foo.a = 1 and foo.b LIKE 'station'", "SELECT COUNT( * ) FROM foo me JOIN bar rel_bar ON rel_bar.id_bar = me.fk_bar WHERE NOT EXISTS (SELECT inner_baz.id_baz FROM baz inner_baz WHERE ( ( inner_baz.fk_a != ? AND ( fk_bar = me.fk_bar AND name = me.name ) ) ) )", "SELECT foo AS bar FROM baz ORDER BY x + ? DESC, oomph, y - ? DESC, unf, baz.g / ? ASC, buzz * 0 DESC, foo DESC, ickk ASC", + "SELECT inner_forum_roles.forum_id FROM forum_roles AS inner_forum_roles LEFT JOIN user_roles AS inner_user_roles USING(user_role_type_id) WHERE inner_user_roles.user_id = users__row.user_id", ); # FIXME FIXME FIXME