[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Re: Runtime error: Could not tie to 'products': Is a directory
Patch attached.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Fast, reliable, cheap. Pick two and we'll talk. -- unknown
Index: Data.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/lib/Vend/Data.pm,v
retrieving revision 1.17.2.14
diff -r1.17.2.14 Data.pm
625c625
< if( $data->{type} > 6 or $data->{HOT} ) {
---
> if( $data->{type} > 6 or $data->{HOT} or $data->{IMPORT_ONCE} ) {
721a722
> #::logDebug ("no_import_check: once=$obj->{IMPORT_ONCE} dir=$obj->{DIR}");
888c889
< $db = $Vend::Interpolate::Db{$class_config->{Class}}->open_table( $obj, $table_name );
---
> $db = $Vend::Interpolate::Db{$class_config->{Class}}->open_table( $obj, $obj->{db_file} );
891c892
< $db = $class_config->{Class}->open_table( $obj, $table_name );
---
> $db = $class_config->{Class}->open_table( $obj, $obj->{db_file} );