- tdb = tdb1_open_ex("run-no-lock-during-traverse.tdb",
- 1024, TDB1_CLEAR_IF_FIRST, O_CREAT|O_TRUNC|O_RDWR,
- 0600, &taplogctx, NULL);
+ tdb = tdb1_open("run-no-lock-during-traverse.tdb",
+ 1024, TDB_DEFAULT, O_CREAT|O_TRUNC|O_RDWR,
+ 0600, &tap_log_attr);