caller);
return false;
}
-
- if (tdb->file->allrecord_lock.count != 0
- || tdb->file->num_lockrecs != 0) {
- tdb->last_error = tdb_logerr(tdb, TDB_ERR_EINVAL,
- TDB_LOG_USE_ERROR,
- "%s: can't change"
- " TDB_RDONLY holding locks",
- caller);
- return false;
- }
return true;
}