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

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Thu Feb 19 18:06:21 EST 2004


User:      heins
Date:      2004-02-19 23:06:21 GMT
Modified:  lib/Vend SQL_Parser.pm
Log:
* Remove double-declared vars.

Revision  Changes    Path
2.8       +2 -4      interchange/lib/Vend/SQL_Parser.pm


rev 2.8, prev_rev 2.7
Index: SQL_Parser.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/SQL_Parser.pm,v
retrieving revision 2.7
retrieving revision 2.8
diff -u -r2.7 -r2.8
--- SQL_Parser.pm	15 Sep 2003 17:26:30 -0000	2.7
+++ SQL_Parser.pm	19 Feb 2004 23:06:21 -0000	2.8
@@ -1,6 +1,6 @@
 # Vend::SQL_Parser - Interchange SQL parser class
 #
-# $Id: SQL_Parser.pm,v 2.7 2003/09/15 17:26:30 mheins Exp $
+# $Id: SQL_Parser.pm,v 2.8 2004/02/19 23:06:21 mheins Exp $
 #
 # Copyright (C) 2002-2003 Interchange Development Group
 # Copyright (C) 1997-2002 Red Hat, Inc.
@@ -38,7 +38,7 @@
 use Vend::Util;
 use Text::ParseWords;
 use vars qw($VERSION);
-$VERSION = substr(q$Revision: 2.7 $, 10);
+$VERSION = substr(q$Revision: 2.8 $, 10);
 
 sub new {
 	my $class = shift;
@@ -112,7 +112,6 @@
 
 sub errdie {
 	my $self = shift;
-	my $msg = ::errmsg(@_);
 	my $sub;
 	if($self->{log} eq 'debug')     { $sub = \&Vend::Util::logDebug;  }
 	elsif($self->{log} eq 'global') { $sub = \&Vend::Util::logGlobal; }
@@ -214,7 +213,6 @@
 sub order {
 	my $s = shift;
 	return @{$s->{order}} if $s->{order};
-	my @try;
 	my @col;
 
 	my $st = $s->{order_by}








More information about the interchange-cvs mailing list