[Bast-commits] r4475 - in trunk/DBIx-Class-Schema-Loader: .
lib/DBIx/Class/Schema/Loader/DBI
ilmari at dev.catalyst.perl.org
ilmari at dev.catalyst.perl.org
Sun Jun 8 14:18:48 BST 2008
Author: ilmari
Date: 2008-06-08 14:18:48 +0100 (Sun, 08 Jun 2008)
New Revision: 4475
Modified:
trunk/DBIx-Class-Schema-Loader/Changes
trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/Oracle.pm
Log:
Fix Oracle constraint detection for non-owned schemas
Modified: trunk/DBIx-Class-Schema-Loader/Changes
===================================================================
--- trunk/DBIx-Class-Schema-Loader/Changes 2008-06-07 15:59:28 UTC (rev 4474)
+++ trunk/DBIx-Class-Schema-Loader/Changes 2008-06-08 13:18:48 UTC (rev 4475)
@@ -1,5 +1,8 @@
Revision history for Perl extension DBIx::Class::Schema::Loader
+0.04006 Not Yet Released
+ - Fix Oracle constraint detection for non-owned schemas (RT #35732)
+
0.04005 Sat Apr 05, 2008
- Fix DB2 support
- Add support for load_namespaces-style class layout
Modified: trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/Oracle.pm
===================================================================
--- trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/Oracle.pm 2008-06-07 15:59:28 UTC (rev 4474)
+++ trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/Oracle.pm 2008-06-08 13:18:48 UTC (rev 4475)
@@ -80,10 +80,10 @@
my $sth = $dbh->prepare_cached(
q{
- SELECT constraint_name, ucc.column_name
- FROM user_constraints JOIN user_cons_columns ucc USING (constraint_name)
- WHERE ucc.table_name=? AND constraint_type='U'
- ORDER BY ucc.position
+ SELECT constraint_name, acc.column_name
+ FROM all_constraints JOIN all_cons_columns acc USING (constraint_name)
+ WHERE acc.table_name=? AND constraint_type='U'
+ ORDER BY acc.position
},
{}, 1);
More information about the Bast-commits
mailing list