~hartmut-php/mysql-server/cluster-7.2-showdbs

« back to all changes in this revision

Viewing changes to storage/ndb/memcache/src/NdbInstance.cc

  • Committer: John David Duncan
  • Date: 2012-03-23 23:37:09 UTC
  • mfrom: (3858.1.2 72-close)
  • Revision ID: john.duncan@oracle.com-20120323233709-we0lh4yo2trg11dx
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
  if(db) delete db;
48
48
}
49
49
 
50
 
 
51
 
void NdbInstance::non_blocking_close(NdbTransaction *tx) {
52
 
  Uint64 nwaits_pre, nwaits_post;
53
 
  nwaits_pre = db->getClientStat(Ndb::WaitExecCompleteCount);
54
 
 
55
 
  tx->close();
56
 
 
57
 
  nwaits_post = db->getClientStat(Ndb::WaitExecCompleteCount);  
58
 
  assert(nwaits_pre == nwaits_post);
59
 
}
60