From 112389df2b2f213415e9a6649e9704ca1757c924 Mon Sep 17 00:00:00 2001 From: lissav Date: Sun, 13 May 2012 10:36:16 +0000 Subject: [PATCH] Add more info on delEntries git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Table.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/perl-xCAT/xCAT/Table.pm b/perl-xCAT/xCAT/Table.pm index 969835c36..03416de1e 100644 --- a/perl-xCAT/xCAT/Table.pm +++ b/perl-xCAT/xCAT/Table.pm @@ -3115,6 +3115,10 @@ sub getAllAttribs $table->commit; Build delete statement and'ing the elements of the hash DELETE FROM nodelist WHERE ("groups" = "compute1" AND "node" = "node1") + + If called with no attributes, it will delete all entries in the table. + $table->delEntries(); + $table->commit; Comments: none