[Bast-commits] r9149 -
DBIx-Class/0.08/branches/oracle_hierarchical_queries_rt39121/t
rbo at dev.catalyst.perl.org
rbo at dev.catalyst.perl.org
Wed Apr 14 18:19:20 GMT 2010
Author: rbo
Date: 2010-04-14 19:19:20 +0100 (Wed, 14 Apr 2010)
New Revision: 9149
Modified:
DBIx-Class/0.08/branches/oracle_hierarchical_queries_rt39121/t/73oracle.t
Log:
Fixed t/73oracle.t remove braces
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-04-14 18:10:57 UTC (rev 9148)
+++ DBIx-Class/0.08/branches/oracle_hierarchical_queries_rt39121/t/73oracle.t 2010-04-14 18:19:20 UTC (rev 9149)
@@ -405,7 +405,7 @@
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'] ],
);
@@ -422,7 +422,7 @@
SELECT COUNT( * )
FROM artist me
START WITH name = ?
- CONNECT BY parentid = PRIOR( artistid )
+ CONNECT BY parentid = PRIOR artistid
)',
[ [ name => 'root'] ],
);
@@ -444,7 +444,7 @@
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
ORDER SIBLINGS BY name DESC
)',
[ [ name => 'root'] ],
@@ -471,7 +471,7 @@
FROM artist me
WHERE ( parentid IS NULL )
START WITH name = ?
- CONNECT BY parentid = PRIOR( artistid )
+ CONNECT BY parentid = PRIOR artistid
)',
[ [ name => 'root'] ],
);
@@ -502,7 +502,7 @@
LEFT JOIN cd cds ON cds.artist = me.artistid
WHERE ( cds.title LIKE ? )
START WITH me.name = ?
- CONNECT BY parentid = PRIOR( artistid )
+ CONNECT BY parentid = PRIOR artistid
)',
[ [ 'cds.title' => '%cd' ], [ 'me.name' => 'root' ] ],
);
@@ -522,7 +522,7 @@
LEFT JOIN cd cds ON cds.artist = me.artistid
WHERE ( cds.title LIKE ? )
START WITH me.name = ?
- CONNECT BY parentid = PRIOR( artistid )
+ CONNECT BY parentid = PRIOR artistid
)',
[ [ 'cds.title' => '%cd' ], [ 'me.name' => 'root' ] ],
);
@@ -544,7 +544,7 @@
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
ORDER BY LEVEL ASC, name ASC
)',
[ [ name => 'root' ] ],
@@ -580,7 +580,7 @@
me.parentid AS col5
FROM artist me
START WITH name = ?
- CONNECT BY parentid = PRIOR( artistid )
+ CONNECT BY parentid = PRIOR artistid
ORDER BY name ASC
) A
WHERE ROWNUM < 3
@@ -598,7 +598,7 @@
# TODO:
# prints "START WITH name = ?
- # CONNECT BY artistid = PRIOR( parentid )"
+ # CONNECT BY artistid = PRIOR parentid "
# after count_subq,
# I will fix this later...
#
@@ -612,7 +612,7 @@
# me.artistid AS col1
# FROM artist me
# START WITH name = ?
- # CONNECT BY artistid = PRIOR( parentid )
+ # CONNECT BY artistid = PRIOR parentid
# ) A
# WHERE ROWNUM < 3
# ) B
@@ -654,7 +654,7 @@
SELECT me.artistid, me.name, me.rank, me.charfield, me.parentid, CONNECT_BY_ISCYCLE
FROM artist me
START WITH name = ?
- CONNECT BY NOCYCLE parentid = PRIOR( artistid )
+ CONNECT BY NOCYCLE parentid = PRIOR artistid
)',
[ [ name => 'cycle-root'] ],
);
@@ -676,7 +676,7 @@
SELECT COUNT( * )
FROM artist me
START WITH name = ?
- CONNECT BY NOCYCLE parentid = PRIOR( artistid )
+ CONNECT BY NOCYCLE parentid = PRIOR artistid
)',
[ [ name => 'cycle-root'] ],
);
More information about the Bast-commits
mailing list