summaryrefslogtreecommitdiff
path: root/ndb/test
diff options
context:
space:
mode:
authorunknown <joreland@mysql.com>2005-06-10 15:15:10 +0200
committerunknown <joreland@mysql.com>2005-06-10 15:15:10 +0200
commit5bcd1651e2f9702a01130c4d48f6c899a3955aa7 (patch)
tree39f89de4bb6f278e2f25f6f8322e49705b4b6c63 /ndb/test
parent3d749dbc6851fa0e5f311843c1f29b86503d3e3d (diff)
parent05b341943a37918fd5448bcb2e924982e7f1b5f0 (diff)
downloadmariadb-git-5bcd1651e2f9702a01130c4d48f6c899a3955aa7.tar.gz
Merge mysql.com:/home/jonas/src/mysql-4.1
into mysql.com:/home/jonas/src/mysql-5.0 ndb/test/ndbapi/testBlobs.cpp: Auto merged
Diffstat (limited to 'ndb/test')
-rw-r--r--ndb/test/ndbapi/testBlobs.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ndb/test/ndbapi/testBlobs.cpp b/ndb/test/ndbapi/testBlobs.cpp
index 3f5d1982522..10d107f159c 100644
--- a/ndb/test/ndbapi/testBlobs.cpp
+++ b/ndb/test/ndbapi/testBlobs.cpp
@@ -1543,11 +1543,11 @@ testperf()
}
if (n != 0) {
CHK(g_con->execute(Commit) == 0);
+ g_ndb->closeTransaction(g_con); g_con = 0;
n = 0;
}
g_bh1 = 0;
g_opr = 0;
- g_con = 0;
}
// pk read char (one trans)
{
@@ -1571,7 +1571,7 @@ testperf()
t1.off(g_opt.m_rowsperf);
DBG(t1.time());
g_opr = 0;
- g_con = 0;
+ g_ndb->closeTransaction(g_con); g_con = 0;
}
// pk read text (one trans)
{
@@ -1596,7 +1596,7 @@ testperf()
CHK(g_con->execute(Commit) == 0);
t2.off(g_opt.m_rowsperf);
DBG(t2.time());
- g_opr = 0;
+ g_ndb->closeTransaction(g_con); g_opr = 0;
g_con = 0;
}
// pk read overhead
@@ -1629,7 +1629,7 @@ testperf()
CHK(n == g_opt.m_rowsperf);
t1.off(g_opt.m_rowsperf);
DBG(t1.time());
- g_ops = 0;
+ g_ndb->closeTransaction(g_con); g_ops = 0;
g_con = 0;
}
// scan read text
@@ -1662,7 +1662,7 @@ testperf()
DBG(t2.time());
g_bh1 = 0;
g_ops = 0;
- g_con = 0;
+ g_ndb->closeTransaction(g_con); g_con = 0;
}
// scan read overhead
DBG("scan read overhead: " << t2.over(t1));