Commit d0eb3e28 authored by unknown's avatar unknown
Browse files

ndb

  remove extra ";" from test programs


ndb/test/include/NDBT_Test.hpp:
  Remove extra ";"
ndb/test/ndbapi/bank/BankLoad.cpp:
  Remove extra ";"
ndb/test/ndbapi/testOIBasic.cpp:
  Remove extra ";"
ndb/test/src/HugoCalculator.cpp:
  Remove extra ";"
ndb/test/src/NDBT_Test.cpp:
  Remove extra ";"
ndb/test/src/NdbBackup.cpp:
  Remove extra ";"
ndb/test/src/NdbRestarts.cpp:
  Remove extra ";"
parent 97956339
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -426,7 +426,7 @@ C##suitname():NDBT_TestSuite(#suitname){ \
  pt->addTable(tableName, false);

#define NDBT_TESTSUITE_END(suitname) \
 } } ; C##suitname suitname;
 } } ; C##suitname suitname

// Helper functions for retrieving variables from NDBT_Step
#define GETNDB(ps) ((NDBT_NdbApiStep*)ps)->getNdb()
+2 −2
Original line number Diff line number Diff line
@@ -321,7 +321,7 @@ int Bank::loadGl(){
    
  m_ndb.closeTransaction(pTrans);      
  return NDBT_OK;
}; 
} 


int Bank::getBalanceForAccountType(const Uint32 accountType,
@@ -460,7 +460,7 @@ int Bank::loadAccountType(){
    
  m_ndb.closeTransaction(pTrans);      
  return NDBT_OK;
};
}
  
/**
 * Load ACCOUNT table
+3 −3
Original line number Diff line number Diff line
@@ -2187,7 +2187,7 @@ pkinsert(Par par)
  }
  con.closeTransaction();
  return 0;
};
}

static int
pkupdate(Par par)
@@ -2250,7 +2250,7 @@ pkupdate(Par par)
  }
  con.closeTransaction();
  return 0;
};
}

static int
pkdelete(Par par)
@@ -2306,7 +2306,7 @@ pkdelete(Par par)
  }
  con.closeTransaction();
  return 0;
};
}

static int
pkread(Par par)
+3 −3
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ HugoCalculator::HugoCalculator(const NdbDictionary::Table& tab) : m_tab(tab) {
#endif
  // Check that idCol is not conflicting with updatesCol
  assert(m_idCol != m_updatesCol && m_idCol != -1 && m_updatesCol != -1);
};
}

Int32
HugoCalculator::calcValue(int record, 
@@ -73,7 +73,7 @@ HugoCalculator::calcValue(int record,
  else
    val = record + attrib + updates;
  return val;
};
}
#if 0
HugoCalculator::U_Int32 calcValue(int record, int attrib, int updates) const;
HugoCalculator::U_Int64 calcValue(int record, int attrib, int updates) const;
@@ -123,7 +123,7 @@ HugoCalculator::calcValue(int record,
    buf[len] = 0;
  }
  return buf;
}; 
}

int
HugoCalculator::verifyRowValues(NDBT_ResultRow* const  pRow) const{
+1 −1
Original line number Diff line number Diff line
@@ -624,7 +624,7 @@ int NDBT_TestCase::execute(NDBT_Context* ctx){
	   << endl;
  }
  return res;
};
}


void NDBT_TestCase::startTimer(NDBT_Context* ctx){
Loading