Performance Improvements

svn path=/trunk/boinc/; revision=3797
This commit is contained in:
Rom Walton 2004-07-06 19:04:37 +00:00
parent 15e85ada7f
commit 5999f4dac1
3 changed files with 4 additions and 3 deletions

View File

@ -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_TRANSITIONER_ITEM_SET::DB_TRANSITIONER_ITEM_SET() : 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_CORE_VERSION::get_id() {return id;}

View File

@ -648,7 +648,7 @@ struct SCHED_RESULT_ITEM {
class DB_SCHED_RESULT_ITEM_SET : public DB_BASE_SPECIAL {
public:
DB_SCHED_RESULT_ITEM_SET();
std::vector<SCHED_RESULT_ITEM>& results;
std::vector<SCHED_RESULT_ITEM> results;
int add_result(char* result_name);

View File

@ -328,7 +328,8 @@ int handle_results(
if (retval) {
log_messages.printf(
SCHED_MSG_LOG::CRITICAL,
"[HOST#%d] Batch query failed\n"
"[HOST#%d] Batch query failed\n",
reply.host.id
);
}
}