From: Robert Bohne Date: Mon, 15 Mar 2010 15:52:24 +0000 (+0000) Subject: fixed sql mistakes from hierarchical query tests X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=11b2b148f7ed7abbdb96556086f34553b7681fff;p=dbsrgits%2FDBIx-Class-Historic.git fixed sql mistakes from hierarchical query tests --- diff --git a/t/73oracle.t b/t/73oracle.t index 684db1f..8fbc379 100644 --- a/t/73oracle.t +++ b/t/73oracle.t @@ -389,7 +389,7 @@ if ( $schema->storage->isa('DBIx::Class::Storage::DBI::Oracle::Generic') ) { SELECT me.artistid, me.name, me.rank, me.charfield, me.parentid FROM artist me START WITH name = ? - CONNECT BY parentid = prior artistid + CONNECT BY parentid = PRIOR( artistid ) )', [ [ name => 'root'] ], ); @@ -406,7 +406,7 @@ if ( $schema->storage->isa('DBIx::Class::Storage::DBI::Oracle::Generic') ) { SELECT COUNT( * ) FROM artist me START WITH name = ? - CONNECT BY parentid = prior artistid + CONNECT BY parentid = PRIOR( artistid ) )', [ [ name => 'root'] ], );