| 985 | // |
| 986 | |
| 987 | static void gen_blob_for( const act* action, USHORT column) |
| 988 | { |
| 989 | PAT args; |
| 990 | const TEXT* pattern1 = "%IFif (!(%S1->getState() & Firebird::IStatus::STATE_ERRORS)) {\n\ |
| 991 | %ENwhile (1)\n\ |
| 992 | {"; |
| 993 | |
| 994 | gen_blob_open(action, column); |
| 995 | args.pat_condition = (action->act_error != NULL); |
| 996 | args.pat_string1 = global_status_name; |
| 997 | PATTERN_expand(column, pattern1, &args); |
| 998 | column += INDENT; |
| 999 | gen_get_segment(action, column); |
| 1000 | printa(column, "if (fbIStatus == Firebird::IStatus::RESULT_ERROR || " |
| 1001 | "fbIStatus == Firebird::IStatus::RESULT_NO_DATA) break;"); |
| 1002 | } |
| 1003 | |
| 1004 | |
| 1005 | //____________________________________________________________ |
no test coverage detected