]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/cats/sql.c
Merge branch 'master' into basejobv3
[bacula/bacula] / bacula / src / cats / sql.c
index bcc8b519d0cf3e43e4ebca56bef10b08c647b7a6..f058d8340b4f5b2d79ba4d5c0dc2c1af2d9d894c 100644 (file)
@@ -500,7 +500,7 @@ void db_end_transaction(JCR *jcr, B_DB *mdb)
 
    if (jcr && jcr->cached_attribute) {
       Dmsg0(400, "Flush last cached attribute.\n");
-      if (!db_create_file_attributes_record(jcr, mdb, jcr->ar)) {
+      if (!db_create_attributes_record(jcr, mdb, jcr->ar)) {
          Jmsg1(jcr, M_FATAL, 0, _("Attribute create error. %s"), db_strerror(jcr->db));
       }
       jcr->cached_attribute = false;