From: Matt S Trout Date: Sat, 12 Oct 2013 15:03:38 +0000 (+0000) Subject: t/sqlmaker/limit_dialects/rownum.t - ROWNUM -> ROWNUM AS X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9ab1244da8874d13b42d06beafed9b8368c60aa8;p=dbsrgits%2FDBIx-Class.git t/sqlmaker/limit_dialects/rownum.t - ROWNUM -> ROWNUM AS --- diff --git a/t/sqlmaker/limit_dialects/rownum.t b/t/sqlmaker/limit_dialects/rownum.t index b01790f..6985c23 100644 --- a/t/sqlmaker/limit_dialects/rownum.t +++ b/t/sqlmaker/limit_dialects/rownum.t @@ -42,7 +42,7 @@ for my $test_set ( sql => '( SELECT id, artist__id, bleh FROM ( - SELECT id, artist__id, bleh, ROWNUM rownum__index + SELECT id, artist__id, bleh, ROWNUM AS rownum__index FROM ( SELECT foo.id AS id, bar.id AS artist__id, TO_CHAR (foo.womble, "blah") AS bleh FROM cd me @@ -70,7 +70,7 @@ for my $test_set ( sql => '( SELECT id, artist__id, bleh FROM ( - SELECT id, artist__id, bleh, ROWNUM rownum__index + SELECT id, artist__id, bleh, ROWNUM AS rownum__index FROM ( SELECT foo.id AS id, bar.id AS artist__id, TO_CHAR(foo.womble, "blah") AS bleh FROM cd me @@ -102,7 +102,7 @@ for my $test_set ( sql => '( SELECT id, artist__id, bleh FROM ( - SELECT id, artist__id, bleh, ROWNUM rownum__index + SELECT id, artist__id, bleh, ROWNUM AS rownum__index FROM ( SELECT foo.id AS id, bar.id AS artist__id, TO_CHAR(foo.womble, "blah") AS bleh FROM cd me @@ -130,7 +130,7 @@ for my $test_set ( sql => '( SELECT id, ends_with_me__id FROM ( - SELECT id, ends_with_me__id, ROWNUM rownum__index + SELECT id, ends_with_me__id, ROWNUM AS rownum__index FROM ( SELECT foo.id AS id, ends_with_me.id AS ends_with_me__id FROM cd me @@ -157,7 +157,7 @@ for my $test_set ( sql => '( SELECT id, ends_with_me__id FROM ( - SELECT id, ends_with_me__id, ROWNUM rownum__index + SELECT id, ends_with_me__id, ROWNUM AS rownum__index FROM ( SELECT foo.id AS id, ends_with_me.id AS ends_with_me__id FROM cd me @@ -202,7 +202,7 @@ is_same_sql_bind( '( SELECT owner_name, owner_books FROM ( - SELECT owner_name, owner_books, ROWNUM rownum__index + SELECT owner_name, owner_books, ROWNUM AS rownum__index FROM ( SELECT owner.name AS owner_name, ( SELECT COUNT( * ) FROM owners owner WHERE (count.id = owner.id)) AS owner_books