[interchange-cvs] interchange - heins modified lib/Vend/Table/DBI.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Sun Jul 13 23:35:00 EDT 2003


User:      heins
Date:      2003-07-14 02:35:55 GMT
Modified:  lib/Vend/Table DBI.pm
Log:
* Fix typo of unknown origin.

Revision  Changes    Path
2.51      +7 -7      interchange/lib/Vend/Table/DBI.pm


rev 2.51, prev_rev 2.50
Index: DBI.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Table/DBI.pm,v
retrieving revision 2.50
retrieving revision 2.51
diff -u -r2.50 -r2.51
--- DBI.pm	12 Jul 2003 04:47:10 -0000	2.50
+++ DBI.pm	14 Jul 2003 02:35:55 -0000	2.51
@@ -1,6 +1,6 @@
 # Vend::Table::DBI - Access a table stored in an DBI/DBD database
 #
-# $Id: DBI.pm,v 2.50 2003/07/12 04:47:10 mheins Exp $
+# $Id: DBI.pm,v 2.51 2003/07/14 02:35:55 mheins Exp $
 #
 # Copyright (C) 2002-2003 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
@@ -21,7 +21,7 @@
 # MA  02111-1307  USA.
 
 package Vend::Table::DBI;
-$VERSION = substr(q$Revision: 2.50 $, 10);
+$VERSION = substr(q$Revision: 2.51 $, 10);
 
 use strict;
 
@@ -1602,9 +1602,9 @@
 		}
 		else {
 #::logDebug("creating key '$rawkey' in table $s->[$TABLE]");
-			$s->set_row($$key);
-		}
+			$s->set_row($key);
 		}
+	}
 
 	my @args;
 	if(!$q) {
@@ -1920,9 +1920,9 @@
 	eval {
 		if($update and $s->[$CONFIG]{Read_only}) {
 			$s->log_error(
-						"Attempt to do update on read-only table.\nquery: %s",
-						$query,
-					  );
+				"Attempt to do update on read-only table.\nquery: %s",
+				$query,
+			);
 			return undef;
 		}
 		$opt->{row_count} = 1 if $update;







More information about the interchange-cvs mailing list