From b8f7f7a24186888489cf79da580f8a3dc7bfd86d Mon Sep 17 00:00:00 2001 From: lissav Date: Fri, 11 May 2012 11:55:08 +0000 Subject: [PATCH] give better example for delEntries git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12620 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Table.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-xCAT/xCAT/Table.pm b/perl-xCAT/xCAT/Table.pm index af731fdfe..31073242c 100644 --- a/perl-xCAT/xCAT/Table.pm +++ b/perl-xCAT/xCAT/Table.pm @@ -3124,6 +3124,7 @@ sub getAllAttribs $keyhash{node} = "node1"; $keyhash{groups} = "compute1"; $table->delEntries(\%keyhash); + $table->commit; Build delete statement and'ing the elements of the hash DELETE FROM nodelist WHERE ("groups" = "compute1" AND "node" = "node1") Comments: