From: Eric Bollengier Date: Wed, 29 Jul 2009 20:41:44 +0000 (+0200) Subject: fix update_job_end X-Git-Tag: Release-5.0.0~366 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7141e69804fc90280d46a6ac0cacde5b2830559d;p=bacula%2Fbacula fix update_job_end --- 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;