From 31da9cc399d8b54429ada9a1fe1eeff0781ab0fa Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 27 Aug 2008 21:19:18 +0000 Subject: [PATCH] -Fix problem where invalid SQL was generated in previous Table update git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Table.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/Table.pm b/perl-xCAT/xCAT/Table.pm index 734119d46..e6830dfa9 100644 --- a/perl-xCAT/xCAT/Table.pm +++ b/perl-xCAT/xCAT/Table.pm @@ -646,7 +646,7 @@ sub setAttribs #$qstring .= "$_ = ? AND "; #mysql changes #push @qargs, $keypairs{$_}; $qstring .= "\"$_\" = ? AND "; - push @qargs, "\"$keypairs{$_}\""; + push @qargs, $keypairs{$_}; } $qstring =~ s/ AND \z//; my $query = $self->{dbh}->prepare($qstring);