From c206e93c7e5f45c8dff91b79c1fb02f9ef7f32b0 Mon Sep 17 00:00:00 2001 From: Roman Trunov Date: Thu, 26 Mar 2020 18:11:28 +0300 Subject: [PATCH] db_purge: fix truncated mod_time data (field too small for timestamp) --- db/boinc_db_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/boinc_db_types.h b/db/boinc_db_types.h index e724f1056c..dcc0e7460f 100644 --- a/db/boinc_db_types.h +++ b/db/boinc_db_types.h @@ -489,7 +489,7 @@ struct WORKUNIT { // without consensus (i.e. WU is nondeterministic) char result_template_file[64]; int priority; - char mod_time[16]; + char mod_time[20]; double rsc_bandwidth_bound; // send only to hosts with at least this much download bandwidth DB_ID_TYPE fileset_id; @@ -618,7 +618,7 @@ struct RESULT { int exit_status; // application exit status, if any DB_ID_TYPE teamid; int priority; - char mod_time[16]; + char mod_time[20]; double elapsed_time; // AKA runtime; returned by 6.10+ clients double flops_estimate;