- scheduler: add log messages to show VM-related request items

- fix typos in db_update script


svn path=/trunk/boinc/; revision=25183
This commit is contained in:
David Anderson 2012-02-02 00:18:42 +00:00
parent 480e28b54c
commit 8f84416ab7
3 changed files with 19 additions and 3 deletions

View File

@ -1239,3 +1239,12 @@ David 31 Jan 2012
sched_types.cpp sched_types.cpp
html/user/ html/user/
user_search.php user_search.php
David 1 Feb 2012
- scheduler: add log messages to show VM-related request items
- fix typos in db_update script
sched/
sched_send.cpp
html/ops/
db_update.php

View File

@ -797,13 +797,13 @@ function update_9_20_2011() {
"); ");
} }
function_update_1_30_2012() { function update_1_30_2012() {
do_query(" do_query("
alter table workunit alter table workunit
add transitioner_flags tinyint not null add transitioner_flags tinyint not null
"); ");
do_query( do_query(
"add index asgn_target(target_type, target_id)" "alter table assignment add index asgn_target(target_type, target_id)"
); );
} }

View File

@ -1737,7 +1737,7 @@ void send_work_setup() {
); );
if (g_wreq->anonymous_platform) { if (g_wreq->anonymous_platform) {
log_messages.printf(MSG_NORMAL, log_messages.printf(MSG_NORMAL,
"Anonymous platform app versions:\n" "[send] Anonymous platform app versions:\n"
); );
for (i=0; i<g_request->client_app_versions.size(); i++) { for (i=0; i<g_request->client_app_versions.size(); i++) {
CLIENT_APP_VERSION& cav = g_request->client_app_versions[i]; CLIENT_APP_VERSION& cav = g_request->client_app_versions[i];
@ -1752,6 +1752,13 @@ void send_work_setup() {
); );
} }
} }
log_messages.printf(MSG_NORMAL,
"[send] p_vm_extensions_disabled: %s\n",
g_request->host.p_vm_extensions_disabled?"yes":"no"
);
log_messages.printf(MSG_NORMAL,
"[send] CPU features: %s\n", g_request->host.p_features
);
} }
} }