* Print the status, the SQLCODE, and exit. * Also, indicate which operation the error occured on. */
| 124 | * Also, indicate which operation the error occured on. |
| 125 | */ |
| 126 | int pr_error (long* status, char* operation) |
| 127 | { |
| 128 | printf("[\n"); |
| 129 | printf("PROBLEM ON \"%s\".\n", operation); |
| 130 | |
| 131 | isc_print_status(status); |
| 132 | |
| 133 | printf("SQLCODE:%d\n", isc_sqlcode(status)); |
| 134 | |
| 135 | printf("]\n"); |
| 136 | |
| 137 | return 1; |
| 138 | } |
| 139 |
no outgoing calls
no test coverage detected