]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/test/run-04-basichash.c
tdb2: use counters to decide when to coalesce records.
[ccan] / ccan / tdb2 / test / run-04-basichash.c
index b92b6bdde05a4d1928094576b03206e9b194864d..815011faeb2c68e870efd1e0600da7ffdaa0c373 100644 (file)
@@ -177,7 +177,7 @@ int main(int argc, char *argv[])
                                    + rec_key_length(&rec)
                                    + rec_data_length(&rec)
                                    + rec_extra_padding(&rec),
-                                   TDB_LOCK_NOWAIT) == 0);
+                                   TDB_LOCK_NOWAIT, false) == 0);
                ok1(tdb_unlock_hashes(tdb, h.hlock_start, h.hlock_range,
                                      F_WRLCK) == 0);
                ok1(tdb_check(tdb, NULL, NULL) == 0);