Commit 71e9d6ef authored by unknown's avatar unknown

Merge mysql.com:/home/jonas/src/mysql-5.0

into mysql.com:/home/jonas/src/mysql-5.0-ndb


ndb/test/ndbapi/testBlobs.cpp:
  Auto merged
parents 2ee292fb 5bcd1651
...@@ -1542,11 +1542,11 @@ testperf() ...@@ -1542,11 +1542,11 @@ testperf()
} }
if (n != 0) { if (n != 0) {
CHK(g_con->execute(Commit) == 0); CHK(g_con->execute(Commit) == 0);
g_ndb->closeTransaction(g_con); g_con = 0;
n = 0; n = 0;
} }
g_bh1 = 0; g_bh1 = 0;
g_opr = 0; g_opr = 0;
g_con = 0;
} }
// pk read char (one trans) // pk read char (one trans)
{ {
...@@ -1570,7 +1570,7 @@ testperf() ...@@ -1570,7 +1570,7 @@ testperf()
t1.off(g_opt.m_rowsperf); t1.off(g_opt.m_rowsperf);
DBG(t1.time()); DBG(t1.time());
g_opr = 0; g_opr = 0;
g_con = 0; g_ndb->closeTransaction(g_con); g_con = 0;
} }
// pk read text (one trans) // pk read text (one trans)
{ {
...@@ -1595,7 +1595,7 @@ testperf() ...@@ -1595,7 +1595,7 @@ testperf()
CHK(g_con->execute(Commit) == 0); CHK(g_con->execute(Commit) == 0);
t2.off(g_opt.m_rowsperf); t2.off(g_opt.m_rowsperf);
DBG(t2.time()); DBG(t2.time());
g_opr = 0; g_ndb->closeTransaction(g_con); g_opr = 0;
g_con = 0; g_con = 0;
} }
// pk read overhead // pk read overhead
...@@ -1628,7 +1628,7 @@ testperf() ...@@ -1628,7 +1628,7 @@ testperf()
CHK(n == g_opt.m_rowsperf); CHK(n == g_opt.m_rowsperf);
t1.off(g_opt.m_rowsperf); t1.off(g_opt.m_rowsperf);
DBG(t1.time()); DBG(t1.time());
g_ops = 0; g_ndb->closeTransaction(g_con); g_ops = 0;
g_con = 0; g_con = 0;
} }
// scan read text // scan read text
...@@ -1661,7 +1661,7 @@ testperf() ...@@ -1661,7 +1661,7 @@ testperf()
DBG(t2.time()); DBG(t2.time());
g_bh1 = 0; g_bh1 = 0;
g_ops = 0; g_ops = 0;
g_con = 0; g_ndb->closeTransaction(g_con); g_con = 0;
} }
// scan read overhead // scan read overhead
DBG("scan read overhead: " << t2.over(t1)); DBG("scan read overhead: " << t2.over(t1));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment