From 4abcfe11557715bf4b8de45efba84b9d30c8a739 Mon Sep 17 00:00:00 2001 From: "Jeffrey T. Palmer" Date: Thu, 27 Jul 2017 08:28:15 -0400 Subject: [PATCH] Prevent ingestion of jobs with 0 start or end time --- classes/OpenXdmod/Ingestor/Shredded/Jobs.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/OpenXdmod/Ingestor/Shredded/Jobs.php b/classes/OpenXdmod/Ingestor/Shredded/Jobs.php index 95ea1c0d32..40edf9f8a9 100644 --- a/classes/OpenXdmod/Ingestor/Shredded/Jobs.php +++ b/classes/OpenXdmod/Ingestor/Shredded/Jobs.php @@ -39,6 +39,8 @@ public function __construct($dest_db, $src_db) timelimit, node_list FROM shredded_job + WHERE start_time > 0 + AND end_time > 0 '; $sql = 'SELECT MAX(id) AS max_id FROM staging_job';