ltdb: add the CTDB_REC_FLAG_AUTOMATIC to the initial header in ctdb_ltdb_fetch()
[sahlberg/ctdb.git] / common / ctdb_ltdb.c
index b5e586568cd379fc1735f2e3161f74dfb3ba3a02..3ee7fe83143e406b220ae7374cbbbdab2ad9dfb9 100644 (file)
@@ -65,6 +65,7 @@ static void ltdb_initial_header(struct ctdb_db_context *ctdb_db,
        ZERO_STRUCTP(header);
        /* initial dmaster is the lmaster */
        header->dmaster = ctdb_lmaster(ctdb_db->ctdb, &key);
+       header->flags = CTDB_REC_FLAG_AUTOMATIC;
 }