Author: mcbrown
Date: 2007-11-20 08:57:47 +0100 (Tue, 20 Nov 2007)
New Revision: 8792
Log:
Making sure the source directories for a given IDMap load are exposed in the object
Modified:
trunk/tools/MySQL/IDMap.pm
trunk/tools/idfind.pl
Modified: trunk/tools/MySQL/IDMap.pm
===================================================================
--- trunk/tools/MySQL/IDMap.pm 2007-11-20 07:55:16 UTC (rev 8791)
+++ trunk/tools/MySQL/IDMap.pm 2007-11-20 07:57:47 UTC (rev 8792)
Changed blocks: 1, Lines Added: 2, Lines Deleted: 0; 443 bytes
@@ -82,6 +82,8 @@
$object->loadmaps($sources);
+ $object->{_sources} = $sources;
+
if (exists($opts->{altmaptypes}))
{
$object->loadrmaps($opts->{sources}) if (exists($opts->{reverse}) &&
Modified: trunk/tools/idfind.pl
===================================================================
--- trunk/tools/idfind.pl 2007-11-20 07:55:16 UTC (rev 8791)
+++ trunk/tools/idfind.pl 2007-11-20 07:57:47 UTC (rev 8792)
Changed blocks: 1, Lines Added: 1, Lines Deleted: 1; 535 bytes
@@ -110,7 +110,7 @@
if (scalar @matches == 0)
{
- print "Can't find $id in current maps (from @srcpaths)\n";
+ print "Can't find $id in current maps (from ",join(" ",@{$idmap->{_sources}}),")\n";
}
foreach my $match (sort @matches)
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r8792 - in trunk/tools: . MySQL | mcbrown | 20 Nov |