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:
parent
667b27efe7
commit
9f56d3f04f
@ -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 (";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user