]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl fix batch escape string bug
authorEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Apr 2007 15:08:22 +0000 (15:08 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Apr 2007 15:08:22 +0000 (15:08 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4496 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/cats/postgresql.c

index 756377afcf0b17c9d908d0ae829ab7159811eb7d..53282022a404f349f4f9a81cf9ed78a670dd2595 100644 (file)
@@ -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,