Skip to content
Snippets Groups Projects
Commit 4472b29f authored by Danny Auble's avatar Danny Auble
Browse files

missed one

parent 396eafce
No related branches found
No related tags found
No related merge requests found
...@@ -585,7 +585,7 @@ extern int jobacct_storage_p_step_start(struct step_record *step_ptr) ...@@ -585,7 +585,7 @@ extern int jobacct_storage_p_step_start(struct step_record *step_ptr)
snprintf(query, sizeof(query), snprintf(query, sizeof(query),
"insert into %s (id, stepid, start, name, state, " "insert into %s (id, stepid, start, name, state, "
"cpus, nodelist, kill_requid) " "cpus, nodelist, kill_requid) "
"values (%d, %u, %u, '%s', %d, %u, '%s', %d)", "values (%u, %u, %u, '%s', %d, %u, '%s', %u)",
step_table, step_ptr->job_ptr->db_index, step_table, step_ptr->job_ptr->db_index,
step_ptr->step_id, step_ptr->step_id,
(int)step_ptr->start_time, step_ptr->name, (int)step_ptr->start_time, step_ptr->name,
...@@ -594,7 +594,7 @@ extern int jobacct_storage_p_step_start(struct step_record *step_ptr) ...@@ -594,7 +594,7 @@ extern int jobacct_storage_p_step_start(struct step_record *step_ptr)
rc = pgsql_db_query(jobacct_pgsql_db, query); rc = pgsql_db_query(jobacct_pgsql_db, query);
if(rc != SLURM_ERROR) { if(rc != SLURM_ERROR) {
snprintf(query, sizeof(query), snprintf(query, sizeof(query),
"insert into %s (id, stepid) values (%d, %u)", "insert into %s (id, stepid) values (%u, %u)",
rusage_table, step_ptr->job_ptr->db_index, rusage_table, step_ptr->job_ptr->db_index,
step_ptr->step_id); step_ptr->step_id);
rc = pgsql_db_query(jobacct_pgsql_db, query); rc = pgsql_db_query(jobacct_pgsql_db, query);
...@@ -678,7 +678,7 @@ extern int jobacct_storage_p_step_complete(struct step_record *step_ptr) ...@@ -678,7 +678,7 @@ extern int jobacct_storage_p_step_complete(struct step_record *step_ptr)
if(step_ptr->job_ptr->db_index) { if(step_ptr->job_ptr->db_index) {
snprintf(query, sizeof(query), snprintf(query, sizeof(query),
"update %s set endtime=%u, state=%d, " "update %s set endtime=%u, state=%d, "
"kill_requid=%d, comp_code=%u, " "kill_requid=%u, comp_code=%u, "
"max_vsize=%u, max_vsize_task=%u, " "max_vsize=%u, max_vsize_task=%u, "
"max_vsize_node=%u, ave_vsize=%.2f, " "max_vsize_node=%u, ave_vsize=%.2f, "
"max_rss=%u, max_rss_task=%u, " "max_rss=%u, max_rss_task=%u, "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment