Commit f34a7ff4 authored by unknown's avatar unknown

run in loop

parent 042d6209
...@@ -41,6 +41,7 @@ main(void){ ...@@ -41,6 +41,7 @@ main(void){
require(g_ndb.waitUntilReady() == 0); require(g_ndb.waitUntilReady() == 0);
while(true){
g_trans = g_ndb.startTransaction(); g_trans = g_ndb.startTransaction();
require(g_trans); require(g_trans);
...@@ -188,6 +189,8 @@ main(void){ ...@@ -188,6 +189,8 @@ main(void){
for(i = 0; i<cnt; i++){ for(i = 0; i<cnt; i++){
ndbout_c("%s : %d", g_scans[i].m_table, g_scans[i].row_count); ndbout_c("%s : %d", g_scans[i].m_table, g_scans[i].row_count);
} }
g_trans->close();
}
} }
static static
......
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