mirror of https://github.com/BOINC/boinc.git
Performance Improvements
svn path=/trunk/boinc/; revision=3797
This commit is contained in:
parent
15e85ada7f
commit
5999f4dac1
|
@ -68,7 +68,7 @@ DB_MSG_FROM_HOST::DB_MSG_FROM_HOST() : DB_BASE(boinc_db, "msg_from_host"){}
|
||||||
DB_MSG_TO_HOST::DB_MSG_TO_HOST() : DB_BASE(boinc_db, "msg_to_host"){}
|
DB_MSG_TO_HOST::DB_MSG_TO_HOST() : DB_BASE(boinc_db, "msg_to_host"){}
|
||||||
DB_TRANSITIONER_ITEM_SET::DB_TRANSITIONER_ITEM_SET() : DB_BASE_SPECIAL(boinc_db){}
|
DB_TRANSITIONER_ITEM_SET::DB_TRANSITIONER_ITEM_SET() : DB_BASE_SPECIAL(boinc_db){}
|
||||||
DB_WORK_ITEM::DB_WORK_ITEM() : DB_BASE_SPECIAL(boinc_db){}
|
DB_WORK_ITEM::DB_WORK_ITEM() : DB_BASE_SPECIAL(boinc_db){}
|
||||||
DB_SCHED_RESULT_ITEM_SET::DB_SCHED_RESULT_ITEM_SET() : DB_BASE_SPECIAL(boinc_db){ results.clear(); }
|
DB_SCHED_RESULT_ITEM_SET::DB_SCHED_RESULT_ITEM_SET() : DB_BASE_SPECIAL(boinc_db), results.clear() {}
|
||||||
|
|
||||||
int DB_PLATFORM::get_id() {return id;}
|
int DB_PLATFORM::get_id() {return id;}
|
||||||
int DB_CORE_VERSION::get_id() {return id;}
|
int DB_CORE_VERSION::get_id() {return id;}
|
||||||
|
|
|
@ -648,7 +648,7 @@ struct SCHED_RESULT_ITEM {
|
||||||
class DB_SCHED_RESULT_ITEM_SET : public DB_BASE_SPECIAL {
|
class DB_SCHED_RESULT_ITEM_SET : public DB_BASE_SPECIAL {
|
||||||
public:
|
public:
|
||||||
DB_SCHED_RESULT_ITEM_SET();
|
DB_SCHED_RESULT_ITEM_SET();
|
||||||
std::vector<SCHED_RESULT_ITEM>& results;
|
std::vector<SCHED_RESULT_ITEM> results;
|
||||||
|
|
||||||
int add_result(char* result_name);
|
int add_result(char* result_name);
|
||||||
|
|
||||||
|
|
|
@ -328,7 +328,8 @@ int handle_results(
|
||||||
if (retval) {
|
if (retval) {
|
||||||
log_messages.printf(
|
log_messages.printf(
|
||||||
SCHED_MSG_LOG::CRITICAL,
|
SCHED_MSG_LOG::CRITICAL,
|
||||||
"[HOST#%d] Batch query failed\n"
|
"[HOST#%d] Batch query failed\n",
|
||||||
|
reply.host.id
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue