fixed bug3156391 , getting the attributes from vpd table which the serial and mtms is specified support Postgresql or DB2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8677 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
16f12d47ea
commit
84cd853660
@ -253,7 +253,7 @@ sub get_related_fsp_bpa {
|
||||
#Get node
|
||||
#################################
|
||||
print "in get_related_fsp_bpa(), serial = $serial, mtm= $mtm\n";
|
||||
my @ent = $tab->getAllAttribsWhere("serial=\"$serial\" and mtm=\"$mtm\"", 'node');
|
||||
my @ent = $tab->getAllAttribsWhere("\"serial\" like '%".$serial."%' and \"mtm\" like '%".$mtm."%'", 'node');
|
||||
if (@ent < 0) {
|
||||
$msg = "failed to get the FSPs or BPAs whose mtm is $mtm, serial is $serial!";
|
||||
return ("", $msg);
|
||||
|
Loading…
Reference in New Issue
Block a user