]> 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, 24 Mar 2022 08:02:59 +0000 (09:02 +0100)
commitec38c89da8f264789c46415bf07a65afd7d928ef
treef9beb9589346c05ce0f2c3e69e5e5db07871bfe9
parent02173f71bdd7eeaa45e55408275b2f8bf336d1c8
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