diff options
Diffstat (limited to 'lib/tdb2/tdb1_io.c')
-rw-r--r-- | lib/tdb2/tdb1_io.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/tdb2/tdb1_io.c b/lib/tdb2/tdb1_io.c index fe07c4ad2e..70a660cf53 100644 --- a/lib/tdb2/tdb1_io.c +++ b/lib/tdb2/tdb1_io.c @@ -503,3 +503,10 @@ void tdb1_io_init(struct tdb_context *tdb) { tdb->tdb1.io = &io1_methods; } + +enum TDB_ERROR tdb1_probe_length(struct tdb_context *tdb) +{ + tdb->last_error = TDB_SUCCESS; + tdb->tdb1.io->tdb1_oob(tdb, tdb->file->map_size + 1, true); + return tdb->last_error; +} |