Author: mcbrown
Date: 2008-02-11 07:32:13 +0100 (Mon, 11 Feb 2008)
New Revision: 9771
Log:
Entries should be sorted alphabetically irrespective of hyphens/underscores
Modified:
trunk/tools/MySQL/DynXML/OptvarParser.pm
Modified: trunk/tools/MySQL/DynXML/OptvarParser.pm
===================================================================
--- trunk/tools/MySQL/DynXML/OptvarParser.pm 2008-02-11 03:22:36 UTC (rev 9770)
+++ trunk/tools/MySQL/DynXML/OptvarParser.pm 2008-02-11 06:32:13 UTC (rev 9771)
Changed blocks: 1, Lines Added: 3, Lines Deleted: 1; 810 bytes
@@ -30,7 +30,9 @@
if ($element->{Name} eq 'mysqloption')
{
$self->{currentid} = $element->{Attributes}->{id};
- $self->{tabledata}->{$self->{currentid}} = {_sortbase => lc($element->{Attributes}->{id}),
+ my $sortbase = lc($element->{Attributes}->{id});
+ $sortbase =~ s/[-_]//g;
+ $self->{tabledata}->{$self->{currentid}} = {_sortbase => $sortbase,
id => $self->{currentid}};
if (exists($element->{Attributes}->{'section'}))
{
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r9771 - trunk/tools/MySQL/DynXML | mcbrown | 11 Feb |