]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/test/run-record-expand.c
tdb2: more tests, hash collision fixes, attribute support.
[ccan] / ccan / tdb2 / test / run-record-expand.c
index 918833d9037f239a70f2b9c85fe3c072d87a55f6..7e07b9345b78fe8d5670aaf6f7fd21f549363581 100644 (file)
@@ -25,8 +25,7 @@ int main(int argc, char *argv[])
                   * (3 + (1 + (MAX_SIZE/SIZE_STEP)) * 2) + 1);
        for (i = 0; i < sizeof(flags) / sizeof(flags[0]); i++) {
                tdb = tdb_open("run-record-expand.tdb", flags[i],
-                              O_RDWR|O_CREAT|O_TRUNC, 0600, NULL);
-               tdb->log = tap_log_fn;
+                              O_RDWR|O_CREAT|O_TRUNC, 0600, &tap_log_attr);
                ok1(tdb);
                if (!tdb)
                        continue;