From: Ken Youens-Clark Date: Wed, 10 Mar 2004 22:52:17 +0000 (+0000) Subject: Removed "sort" as it puts the tables in a different order than they appear in X-Git-Tag: v0.06~141 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d8b098e53a0c39a402c8f69b0a8f36c52a8f2891;p=dbsrgits%2FSQL-Translator.git Removed "sort" as it puts the tables in a different order than they appear in the body. --- diff --git a/lib/SQL/Translator/Producer/HTML.pm b/lib/SQL/Translator/Producer/HTML.pm index 3a6c593..5e61cec 100644 --- a/lib/SQL/Translator/Producer/HTML.pm +++ b/lib/SQL/Translator/Producer/HTML.pm @@ -1,7 +1,7 @@ package SQL::Translator::Producer::HTML; # ------------------------------------------------------------------- -# $Id: HTML.pm,v 1.13 2004-02-11 21:54:39 kycl4rk Exp $ +# $Id: HTML.pm,v 1.14 2004-03-10 22:52:17 kycl4rk Exp $ # ------------------------------------------------------------------- # Copyright (C) 2002-4 SQLFairy Authors # @@ -24,7 +24,7 @@ use strict; use Data::Dumper; use vars qw($VERSION $NOWRAP $NOLINKTABLE $NAME); -$VERSION = sprintf "%d.%02d", q$Revision: 1.13 $ =~ /(\d+)\.(\d+)/; +$VERSION = sprintf "%d.%02d", q$Revision: 1.14 $ =~ /(\d+)\.(\d+)/; $NAME = join ', ', __PACKAGE__, $VERSION; $NOWRAP = 0 unless defined $NOWRAP; $NOLINKTABLE = 0 unless defined $NOLINKTABLE; @@ -95,7 +95,7 @@ sub produce { ), ); - for my $table (sort @table_names) { + for my $table (@table_names) { my $table_name = $table->name; push @html, $q->comment("Start link to table '$table_name'"),