From 196a96585a5bc83ad1f38e007b39ff9ff0fb8a57 Mon Sep 17 00:00:00 2001 From: Michael Kulabuhov Date: Mon, 30 Oct 2017 12:00:54 +0700 Subject: [PATCH] Fixed insert into host --- db/boinc_db.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/db/boinc_db.cpp b/db/boinc_db.cpp index 2ab3a322f8..8a0a18feae 100644 --- a/db/boinc_db.cpp +++ b/db/boinc_db.cpp @@ -524,7 +524,8 @@ void DB_HOST::db_print(char* buf){ "host_cpid='%s', external_ip_addr='%s', max_results_day=%d, " "error_rate=%.15e, " "product_name='%s', " - "gpu_active_frac=%.15e ", + "gpu_active_frac=%.15e, " + "p_ngpus=%d, p_gpu_fpops=%.15e ", create_time, userid, rpc_seqno, rpc_time, total_credit, expavg_credit, expavg_time, @@ -546,7 +547,8 @@ void DB_HOST::db_print(char* buf){ host_cpid, external_ip_addr, _max_results_day, _error_rate, product_name, - gpu_active_frac + gpu_active_frac, + p_ngpus, p_gpu_fpops ); UNESCAPE(domain_name); UNESCAPE(serialnum);