[Bast-commits] r9372 -
DBIx-Class/0.08/branches/oracle_hierarchical_queries_rt39121/t
rbo at dev.catalyst.perl.org
rbo at dev.catalyst.perl.org
Fri May 14 21:43:29 GMT 2010
Author: rbo
Date: 2010-05-14 22:43:29 +0100 (Fri, 14 May 2010)
New Revision: 9372
Modified:
DBIx-Class/0.08/branches/oracle_hierarchical_queries_rt39121/t/73oracle.t
Log:
Fixed count subquery from disabled test case
Modified: DBIx-Class/0.08/branches/oracle_hierarchical_queries_rt39121/t/73oracle.t
===================================================================
--- DBIx-Class/0.08/branches/oracle_hierarchical_queries_rt39121/t/73oracle.t 2010-05-14 21:35:33 UTC (rev 9371)
+++ DBIx-Class/0.08/branches/oracle_hierarchical_queries_rt39121/t/73oracle.t 2010-05-14 21:43:29 UTC (rev 9372)
@@ -605,18 +605,17 @@
# $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' ] ],
# );
More information about the Bast-commits
mailing list