[interchange-cvs] interchange - heins modified scripts/interchange.PL

interchange-core@icdevgroup.org interchange-core@icdevgroup.org
Fri Aug 9 22:00:00 2002


User:      heins
Date:      2002-08-10 01:59:33 GMT
Modified:  scripts  interchange.PL
Log:
* Remove unneeded check (is done by database_exists_ref()). Allows instant
  database files to be written by update_data.

Revision  Changes    Path
2.49      +1 -5      interchange/scripts/interchange.PL


rev 2.49, prev_rev 2.48
Index: interchange.PL
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /var/cvs/interchange/scripts/interchange.PL,v
retrieving revision 2.48
retrieving revision 2.49
diff -u -r2.48 -r2.49
--- interchange.PL	2 Aug 2002 11:40:59 -0000	2.48
+++ interchange.PL	10 Aug 2002 01:59:32 -0000	2.49
@@ -3,7 +3,7 @@
 #
 # Interchange version 4.9.2
 #
-# $Id: interchange.PL,v 2.48 2002/08/02 11:40:59 racke Exp $
+# $Id: interchange.PL,v 2.49 2002/08/10 01:59:32 mheins Exp $
 #
 # Copyright (C) 1996-2002 Red Hat, Inc. and others.
 # http://www.icdevgroup.org/
@@ -567,10 +567,6 @@
 	}
=20
=20
-	if (! $Vend::Cfg->{Database}{$table}) {
-		logError("set: non-existent table %s", $table);
-		return undef;
-	}
 	$Vend::WriteDatabase{$table} =3D 1;
=20
     my $base_db =3D database_exists_ref($table)