| 58 | |
| 59 | |
| 60 | void ERR_bugcheck(int number, const TEXT* file, int line) |
| 61 | { |
| 62 | /************************************** |
| 63 | * |
| 64 | * E R R _ b u g c h e c k |
| 65 | * |
| 66 | ************************************** |
| 67 | * |
| 68 | * Functional description |
| 69 | * Things seem to be going poorly today. |
| 70 | * |
| 71 | **************************************/ |
| 72 | thread_db* const tdbb = JRD_get_thread_data(); |
| 73 | Database* const dbb = tdbb->getDatabase(); |
| 74 | |
| 75 | dbb->dbb_flags |= DBB_bugcheck; |
| 76 | CCH_shutdown(tdbb); |
| 77 | |
| 78 | internal_error(isc_bug_check, number, file, line); |
| 79 | } |
| 80 | |
| 81 | |
| 82 | void ERR_bugcheck_msg(const TEXT* msg) |
nothing calls this directly
no test coverage detected