From 7e7e44123e5b3ab62c6aa95cf9a08acd307d61ef Mon Sep 17 00:00:00 2001
From: "Bradley C. Kuszmaul" <bradley@tokutek.com>
Date: Thu, 8 May 2008 21:42:45 +0000
Subject: [PATCH] Addresses #797.

git-svn-id: file:///svn/tokudb@3872 c7de825b-a66e-492c-adef-691d508d4ae1
---
 src/tests/test_nested.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/tests/test_nested.c b/src/tests/test_nested.c
index 091358ca833..ab2e59f36a1 100644
--- a/src/tests/test_nested.c
+++ b/src/tests/test_nested.c
@@ -123,7 +123,10 @@ void test_nested (void) {
     lookup(5, txn, DB_NOTFOUND);
     r=txn->commit(txn, 0); CKERR(r);
 
+    r=env->txn_begin(env, 0, &txn, 0);    CKERR(r);
     insert(6, 0);
+    r=txn->commit(txn, 0); CKERR(r);
+
     r=env->txn_begin(env, 0, &txn, 0);    CKERR(r);
     insert(6, txn);
     r=env->txn_begin(env, txn, &txn2, 0); CKERR(r);
-- 
2.30.9