From: Robert Bohne Date: Fri, 14 May 2010 21:43:29 +0000 (+0000) Subject: Fixed count subquery from disabled test case X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b75e2132f3b951b2e8e11c9aa649b4ee225c1b05;p=dbsrgits%2FDBIx-Class-Historic.git Fixed count subquery from disabled test case --- diff --git a/t/73oracle.t b/t/73oracle.t index ee5c97b..d6e90e3 100644 --- a/t/73oracle.t +++ b/t/73oracle.t @@ -605,18 +605,17 @@ if ( $schema->storage->isa('DBIx::Class::Storage::DBI::Oracle::Generic') ) { # $rs->count_rs->as_query, # '( # SELECT COUNT( * ) FROM ( - # SELECT * FROM ( - # SELECT A.*, ROWNUM r FROM ( + # SELECT artistid FROM ( + # SELECT artistid, ROWNUM rownum__index FROM ( # SELECT - # me.artistid AS col1 + # me.artistid # FROM artist me # START WITH name = ? # CONNECT BY artistid = PRIOR parentid - # ) A - # WHERE ROWNUM < 3 - # ) B - # WHERE r >= 1 - # ) count_subq + # ) me + # ) me + # WHERE rownum__index BETWEEN 1 AND 2 + # ) me # )', # [ [ name => 'greatgrandchild' ] ], # );