From 7141e69804fc90280d46a6ac0cacde5b2830559d Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 29 Jul 2009 22:41:44 +0200 Subject: [PATCH] fix update_job_end --- bacula/src/cats/sql_update.c | 4 ++-- bacula/src/dird/catreq.c | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bacula/src/cats/sql_update.c b/bacula/src/cats/sql_update.c index c7413850bb..83f71822e1 100644 --- a/bacula/src/cats/sql_update.c +++ b/bacula/src/cats/sql_update.c @@ -191,8 +191,8 @@ db_update_job_end_record(JCR *jcr, B_DB *mdb, JOB_DBR *jr) jr->PoolId, jr->FileSetId, edit_uint64(JobTDate, ed2), rdt, PriorJobId, - edit_int64(jr->JobId, ed3), - jr->HasBase); + jr->HasBase, + edit_int64(jr->JobId, ed3)); stat = UPDATE_DB(jcr, mdb, mdb->cmd); diff --git a/bacula/src/dird/catreq.c b/bacula/src/dird/catreq.c index cf1dee5836..00af56fa38 100644 --- a/bacula/src/dird/catreq.c +++ b/bacula/src/dird/catreq.c @@ -415,7 +415,6 @@ static void update_attribute(JCR *jcr, char *msg, int32_t msglen) skip_nonspaces(&p); /* skip FileIndex */ skip_spaces(&p); ar->FileType = str_to_int32(p); /* TODO: choose between unserialize and str_to_int32 */ - Dmsg1(0, "FileType=%i\n", ar->FileType); skip_nonspaces(&p); /* skip FileType */ skip_spaces(&p); fname = p; -- 2.39.5