Commit de8e5c06 authored by joreland@mysql.com's avatar joreland@mysql.com

testOIBasic

parent a2f866e9
...@@ -2301,7 +2301,7 @@ scanupdatetable(Par par) ...@@ -2301,7 +2301,7 @@ scanupdatetable(Par par)
// updating trans // updating trans
Con con2; Con con2;
con2.m_ndb = con.m_ndb; con2.m_ndb = con.m_ndb;
CHK(con2.startTransaction(con) == 0); CHK(con2.startTransaction() == 0);
while (1) { while (1) {
int ret; int ret;
CHK((ret = con.nextScanResult()) == 0 || ret == 1); CHK((ret = con.nextScanResult()) == 0 || ret == 1);
...@@ -2347,7 +2347,7 @@ scanupdateindex(Par par, const ITab& itab, const BSet& bset) ...@@ -2347,7 +2347,7 @@ scanupdateindex(Par par, const ITab& itab, const BSet& bset)
// updating trans // updating trans
Con con2; Con con2;
con2.m_ndb = con.m_ndb; con2.m_ndb = con.m_ndb;
CHK(con2.startTransaction(con) == 0); CHK(con2.startTransaction() == 0);
while (1) { while (1) {
int ret; int ret;
CHK((ret = con.nextScanResult()) == 0 || ret == 1); CHK((ret = con.nextScanResult()) == 0 || ret == 1);
......
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