[ic] Re: Runtime error: Could not tie to 'products': Is a directory

Mike Heins mikeh@minivend.com
Fri, 30 Mar 2001 08:42:32 -0500


--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii

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

--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch

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} );

--Qxx1br4bt0+wmkIi--