|
From: Dan F. <da...@ha...> - 2007-01-24 19:05:31
|
Patch to change db_cleanup timekeeping for both normal and clustered setup. To fix item from tracker: [ 1574884 ] db_clean_host name and HOSTNAME Feel free to check it and make comments. Notes on patch: Old HOSTNAME codes is not removed yet to keep this diff simple to read. Added new value into "config" table. "last_dbclean". Contains unix timestampor zero. Changed/corrected updateconfig() to return number of affected rows Changed updateconfig() to allow 1 extra arg. If given, the arg will be added to sql's where statement: "AND value='$arg'" (used for "old_timestamp") Removed "next_maint" everywhere. Removed dbclean on startup - Dan |