diff options
Diffstat (limited to 'lib/tdb2/test/run-tdb1-open-during-transaction.c')
-rw-r--r-- | lib/tdb2/test/run-tdb1-open-during-transaction.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tdb2/test/run-tdb1-open-during-transaction.c b/lib/tdb2/test/run-tdb1-open-during-transaction.c index 879d790647..d03f7d95a0 100644 --- a/lib/tdb2/test/run-tdb1-open-during-transaction.c +++ b/lib/tdb2/test/run-tdb1-open-during-transaction.c @@ -156,14 +156,14 @@ int main(int argc, char *argv[]) ok1(tdb); opened = true; - ok1(tdb1_transaction_start(tdb) == 0); + ok1(tdb_transaction_start(tdb) == TDB_SUCCESS); key.dsize = strlen("hi"); key.dptr = (void *)"hi"; data.dptr = (void *)"world"; data.dsize = strlen("world"); ok1(tdb_store(tdb, key, data, TDB_INSERT) == TDB_SUCCESS); - ok1(tdb1_transaction_commit(tdb) == 0); + ok1(tdb_transaction_commit(tdb) == TDB_SUCCESS); ok(!errors, "We had %u open errors", errors); opened = false; |