2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-11-21 01:42:15 +00:00
Commit Graph

15 Commits

Author SHA1 Message Date
Vinícius Ferrão 06a3f486c7 fix(chtab): report a table that chtab -d cannot open
chtab -d called delEntries on each table that it named without a check
that the table opened. A table name that xCAT does not know made chtab
die after it had deleted the rows of the tables named before it. The
error was "Can't call method delEntries on an undefined value".

The delete moves to xCAT::TableUtils->delete_rows, which opens every
named table first. When a table does not open, it deletes no row and
returns the table name. chtab -d reports that table with the error of
the update form.
2026-10-14 13:14:42 -03:00
GONG Jie d0f943a342 Remove trailing spaces in file xCAT-server/sbin/chtab 2017-12-31 23:59:59 +00:00
Casandra Qiu adb1cafa43 modify message 2018-06-01 11:28:25 -04:00
Casandra Qiu bcf0b4a7b8 Modified message 2018-05-30 21:27:00 -04:00
Casandra Qiu d49664ea31 Add WARNING message if non-root user runs chtab command 2018-05-30 13:41:25 -04:00
Mark Gurevich 2361cda1f2 Man and usage updates for chtab and tabch commands 2018-05-08 13:34:17 -04:00
Mark Gurevich fb911143fe perltidy all perl files, part 2 2016-07-21 13:27:40 -04:00
ligc 6c44423812 fix for bug 4458: check the return value from Table.pm::setAttribs 2014-03-06 09:14:41 +08:00
lissav a8a82224eb force a build 2014-04-08 14:35:15 -04:00
cjhardee 2a9a5675ce This addresses [ xcat-Feature Requests-2991347 ] chtab should be able to append a new value to an attribute
allows += to be used to append values in a field instead of only being able to replace with =
fixed the version option


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5880 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-24 02:08:21 +00:00
ligc d43b6370a7 fix for bugg 2915687: error checking for chtab syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4873 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-04 06:33:12 +00:00
jjhua e431f7d9eb add "Missing table name", fix bug2509834
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3038 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-30 02:52:44 +00:00
linggao 1cc6b66c5c bug fix in chtab
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2668 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-29 16:37:52 +00:00
linggao 7fba9cb39c added AUTO INCREMENT support for DB columns
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-27 17:53:44 +00:00
jbjohnso e68fe9d2db -Move xCAT-server and client to not have 2.0 in name for trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-03 14:56:33 +00:00