| 678 | } |
| 679 | |
| 680 | int |
| 681 | hs_longrun_thread_hs::check_hs_error(const char *mess, record_value *rec) |
| 682 | { |
| 683 | const int err = cli->get_error_code(); |
| 684 | if (err == 0) { |
| 685 | return 0; |
| 686 | } |
| 687 | ++stat.runtime_error_count; |
| 688 | if (arg.sh.verbose > 0) { |
| 689 | const std::string estr = cli->get_error(); |
| 690 | fprintf(stderr, "RUNTIME_ERROR: op=%c wid=%d %s: %d %s\n", |
| 691 | arg.op, arg.id, mess, err, estr.c_str()); |
| 692 | } |
| 693 | if (rec) { |
| 694 | rec->unknown_state = true; |
| 695 | } |
| 696 | return 1; |
| 697 | } |
| 698 | |
| 699 | struct hs_longrun_thread_my : public hs_longrun_thread_base { |
| 700 | hs_longrun_thread_my(const arg_type& arg) |
nothing calls this directly
no test coverage detected