X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FDB2.pm;h=8cb4ecb061078bddb4b31c86af7e412143690770;hb=16f6b6ac6c89347d9f38b16b4adbb417db3d804c;hp=3c458c9711e8bcab8bb67a962d7e19acfdd15e23;hpb=cfb6add1e614ccd60d737068897fc3132c38760b;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/lib/DBIx/Class/Schema/Loader/DB2.pm b/lib/DBIx/Class/Schema/Loader/DB2.pm index 3c458c9..8cb4ecb 100644 --- a/lib/DBIx/Class/Schema/Loader/DB2.pm +++ b/lib/DBIx/Class/Schema/Loader/DB2.pm @@ -115,7 +115,7 @@ SQL $cond{$other_cols[$i]} = $self_cols[$i]; } - eval { $class->_loader_make_relations ($table, $other, \%cond); }; + eval { $class->_loader_make_cond_rel ($table, $other, \%cond); }; warn qq/\# belongs_to_many failed "$@"\n\n/ if $@ && $class->_loader_debug; }