From 9f56d3f04fd517be6b8612e58ceee423e5b0b03c Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 10 Nov 2010 13:22:23 +0000 Subject: [PATCH] fix defect 3103756, setNodesAttribs hash input sql does not work for DB2 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8115 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 0aa5de951..68d8b02ae 100644 --- a/perl-xCAT/xCAT/Table.pm +++ b/perl-xCAT/xCAT/Table.pm @@ -1926,7 +1926,7 @@ sub setNodesAttribs { $qstring = "SELECT * FROM " . $self->{tabname} . " WHERE \`$nodekey\` in ("; } else { if ($xcatcfg =~ /^DB2:/){ - $qstring = "SELECT * FROM " . $self->{tabname} . " WHERE \"$nodekey\" LIKE ("; + $qstring = "SELECT * FROM " . $self->{tabname} . " WHERE \"$nodekey\" in ("; } else { $qstring = "SELECT * FROM " . $self->{tabname} . " WHERE $nodekey in ("; }