[interchange-cvs] interchange - racke modified 2 files
interchange-core@icdevgroup.org
interchange-core@icdevgroup.org
Mon Feb 17 07:19:01 2003
User: racke
Date: 2003-02-17 12:18:16 GMT
Modified: . WHATSNEW
Modified: lib/Vend/Table Shadow.pm
Log:
column_exists method calls now method of underlying class instead of a
lookup in the database structure which didn't work properly
Revision Changes Path
2.105 +16 -9 interchange/WHATSNEW
rev 2.105, prev_rev 2.104
Index: WHATSNEW
===================================================================
RCS file: /var/cvs/interchange/WHATSNEW,v
retrieving revision 2.104
retrieving revision 2.105
diff -u -r2.104 -r2.105
--- WHATSNEW 16 Feb 2003 14:20:54 -0000 2.104
+++ WHATSNEW 17 Feb 2003 12:18:16 -0000 2.105
@@ -65,8 +65,6 @@
* Let Vend::Util::unhexify mangle only representations of hex chars instead
of any three-letter-string starting with the percent sign.
-* Add stub for sort_each method to Shadow database.
-
* Add database filename in question to the fatal error in the
Vend::Table::Common::column_index method.
@@ -315,13 +313,6 @@
* Check if /etc/init.d/interchange and /usr/sbin/interchangeconfig are
executable in interchange-ui maintainer scripts.
-Miscellaneous
--------------
-
-* Fix a bug that prevented the cgi-bin link program from being associated
- with the chosen owner and group. The patch was created and tested by Carl
- Bailey.
-
UserTags
--------
@@ -336,6 +327,22 @@
----
* update_locales job added.
+
+Shadow Database
+---------------
+
+* Add stub for sort_each method.
+
+* column_exists method calls now method of underlying class instead of a
+ lookup in the database structure which didn't work properly
+
+Miscellaneous
+-------------
+
+* Fix a bug that prevented the cgi-bin link program from being associated
+ with the chosen owner and group. The patch was created and tested by Carl
+ Bailey.
+
------------------------------------------------------------------------------
1.22 +3 -3 interchange/lib/Vend/Table/Shadow.pm
rev 1.22, prev_rev 1.21
Index: Shadow.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Table/Shadow.pm,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- Shadow.pm 17 Feb 2003 11:49:08 -0000 1.21
+++ Shadow.pm 17 Feb 2003 12:18:16 -0000 1.22
@@ -1,6 +1,6 @@
# Vend::Table::Shadow - Access a virtual "Shadow" table
#
-# $Id: Shadow.pm,v 1.21 2003/02/17 11:49:08 racke Exp $
+# $Id: Shadow.pm,v 1.22 2003/02/17 12:18:16 racke Exp $
#
# Copyright (C) 2002-2003 Stefan Hornburg (Racke) <racke@linuxia.de>
#
@@ -20,7 +20,7 @@
# MA 02111-1307 USA.
package Vend::Table::Shadow;
-$VERSION = substr(q$Revision: 1.21 $, 10);
+$VERSION = substr(q$Revision: 1.22 $, 10);
# TODO
#
@@ -132,7 +132,7 @@
$s = $s->import_db() if ! defined $s->[$OBJ];
my ($orig_db, $orig_col) = $s->_map_field($column);
- return defined($orig_db->[$CONFIG]{COLUMN_INDEX}{lc $orig_col});
+ return $orig_db->column_exists($orig_col);
}
sub set_slice {