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

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Sun Apr 11 23:06:32 EDT 2004


User:      heins
Date:      2004-04-12 03:06:32 GMT
Modified:  lib/Vend/Table DBI_CompositeKey.pm
Log:
* Add autonumber routine that returns blank to prevent errors
  from routines which rely on it.

Revision  Changes    Path
1.6       +4 -2      interchange/lib/Vend/Table/DBI_CompositeKey.pm


rev 1.6, prev_rev 1.5
Index: DBI_CompositeKey.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Table/DBI_CompositeKey.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- DBI_CompositeKey.pm	11 Apr 2004 18:01:11 -0000	1.5
+++ DBI_CompositeKey.pm	12 Apr 2004 03:06:32 -0000	1.6
@@ -1,6 +1,6 @@
 # Vend::Table::DBI - Access a table stored in an DBI/DBD database
 #
-# $Id: DBI_CompositeKey.pm,v 1.5 2004/04/11 18:01:11 mheins Exp $
+# $Id: DBI_CompositeKey.pm,v 1.6 2004/04/12 03:06:32 mheins Exp $
 #
 # Copyright (C) 2002-2004 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
@@ -21,7 +21,7 @@
 # MA  02111-1307  USA.
 
 package Vend::Table::DBI_CompositeKey;
-$VERSION = substr(q$Revision: 1.5 $, 10);
+$VERSION = substr(q$Revision: 1.6 $, 10);
 
 use strict;
 
@@ -168,6 +168,8 @@
 #::logDebug("DBI_CompositeKey keys = " . ::uneval(\@key));
 	return @key;
 }
+
+sub autonumber { return '' }
 
 sub inc_field {
     my ($s, $key, $column, $value) = @_;








More information about the interchange-cvs mailing list