From: Eric Bollengier Date: Mon, 2 Apr 2007 15:08:22 +0000 (+0000) Subject: ebl fix batch escape string bug X-Git-Tag: Release-7.0.0~6630 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8cd27a4b01f8ebe9780676324d5d504b6554e19a;p=bacula%2Fbacula ebl fix batch escape string bug git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4496 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/cats/postgresql.c b/bacula/src/cats/postgresql.c index 756377afcf..53282022a4 100644 --- a/bacula/src/cats/postgresql.c +++ b/bacula/src/cats/postgresql.c @@ -635,8 +635,8 @@ int my_postgresql_batch_insert(JCR *jcr, B_DB *mdb, ATTR_DBR *ar) } len = Mmsg(mdb->cmd, "%u\t%s\t%s\t%s\t%s\t%s\n", - ar->FileIndex, edit_int64(ar->JobId, ed1), mdb->esc_name, - mdb->esc_name2, ar->attr, digest); + ar->FileIndex, edit_int64(ar->JobId, ed1), mdb->esc_name2, + mdb->esc_name, ar->attr, digest); do { res = PQputCopyData(mdb->db,