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
This commit is contained in:
lissav 2010-11-10 13:22:23 +00:00
parent 667b27efe7
commit 9f56d3f04f

View File

@ -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 (";
}