MCPcopy Create free account
hub / github.com/Shannon-Data/ShannonBase / error_handler

Function error_handler

storage/ndb/test/ndbapi/flexTT.cpp:720–732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

718}
719
720bool error_handler(const NdbError &err) {
721 ndbout << err << endl;
722 switch (err.classification) {
723 case NdbError::NodeRecoveryError:
724 case NdbError::SchemaError:
725 case NdbError::TimeoutExpired:
726 ndbout << endl << "Attempting to recover and continue now..." << endl;
727 return true; // return true to retry
728 default:
729 break;
730 }
731 return false;
732}
733#if 0
734bool error_handler(const char* error_string, int error_int) {
735 ndbout << error_string << endl ;

Callers 15

executeTransactionFunction · 0.70
defineOperationFunction · 0.70
createTablesFunction · 0.70
parseMethod · 0.50
coerce_intMethod · 0.50
coerce_realMethod · 0.50
coerce_decimalMethod · 0.50
coerce_dateMethod · 0.50
coerce_timeMethod · 0.50
CHECK_NULLFunction · 0.50
userTransaction_T1Function · 0.50
userTransaction_T2Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected