- plan_tests(11);
- tdb = tdb1_open("run-readonly-check.tdb", 1024,
- TDB_DEFAULT,
- O_CREAT|O_TRUNC|O_RDWR, 0600, &tap_log_attr);
+ hsize.base.attr = TDB_ATTRIBUTE_TDB1_HASHSIZE;
+ hsize.base.next = &tap_log_attr;
+ hsize.tdb1_hashsize.hsize = 1024;
+
+ plan_tests(10);
+ tdb = tdb_open("run-readonly-check.tdb1",
+ TDB_VERSION1,
+ O_CREAT|O_TRUNC|O_RDWR, 0600, &hsize);