]> git.ipfire.org Git - thirdparty/bacula.git/commit
Initialize StartTime in db_create_job_record()
authorEric Bollengier <eric@baculasystems.com>
Mon, 1 Feb 2021 10:20:02 +0000 (11:20 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 4 Feb 2021 14:53:26 +0000 (15:53 +0100)
commitcf509cf557a8ba1ea646895631ce07bac91a6082
treeb881db071498468ad2cd9b8ce2f47187a4b87ccc
parentf341ca9cb785d0c4e23ae977a54c83d7c51438b2
Initialize StartTime in db_create_job_record()

We initialize the StarTime DB field earlier in db_create_job_record()
to avoid strange behaviors when the job is canceled before the actual
start of the job.

When the StartTime field is NULL, the "list jobs" is incorrect, the
job output is also incorrect.
bacula/src/cats/sql_create.c