diff options
Diffstat (limited to 'core/src/cats/sql_update.cc')
-rw-r--r-- | core/src/cats/sql_update.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/cats/sql_update.cc b/core/src/cats/sql_update.cc index 55f558a7d..df1826a6c 100644 --- a/core/src/cats/sql_update.cc +++ b/core/src/cats/sql_update.cc @@ -102,7 +102,7 @@ bool BareosDb::UpdateJobStartRecord(JobControlRecord* jcr, JobDbRecord* jr) "UPDATE Job SET JobStatus='%c',Level='%c',StartTime='%s'," "ClientId=%s,JobTDate=%s,PoolId=%s,FileSetId=%s,VolSessionId=%lu," "VolSessionTime=%lu WHERE JobId=%s", - (char)(jcr->JobStatus), (char)(jr->JobLevel), dt, + (char)(jcr->getJobStatus()), (char)(jr->JobLevel), dt, edit_int64(jr->ClientId, ed1), edit_uint64(JobTDate, ed2), edit_int64(jr->PoolId, ed3), edit_int64(jr->FileSetId, ed4), jcr->VolSessionId, jcr->VolSessionTime, edit_int64(jr->JobId, ed5)); |