diff --git a/checkin_notes b/checkin_notes index 2063358b50..9445c38206 100755 --- a/checkin_notes +++ b/checkin_notes @@ -20355,3 +20355,10 @@ Jeff 29 Nov 2004 sched/ assimilator.C + +Jeff 29 Nov 2004 + - Added back the "-noinsert" option, which had somehow disappeared. + + sched/ + assimilator.C + diff --git a/sched/assimilator.C b/sched/assimilator.C index 4fb3dfb688..163d80fab1 100644 --- a/sched/assimilator.C +++ b/sched/assimilator.C @@ -45,6 +45,7 @@ using std::vector; SCHED_CONFIG config; bool update_db = true; +bool noinsert = false; #define SLEEP_INTERVAL 10 @@ -135,6 +136,11 @@ int main(int argc, char** argv) { // your assimilator over and over again without affecting // your project. update_db = false; + } else if (!strcmp(argv[i], "-noinsert")) { + // This option is also for testing and is used to + // prevent the inserting of results into the *backend* + // (as opposed to the boinc) DB. + noinsert = true; } else { log_messages.printf(SCHED_MSG_LOG::CRITICAL, "Unrecognized arg: %s\n", argv[i]); }