| 718 | } |
| 719 | |
| 720 | bool 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 |
| 734 | bool error_handler(const char* error_string, int error_int) { |
| 735 | ndbout << error_string << endl ; |
no outgoing calls
no test coverage detected