| 2747 | // |
| 2748 | |
| 2749 | static TEXT* gen_name(TEXT* const string, const ref* reference, bool as_blob) |
| 2750 | { |
| 2751 | if (reference->ref_field->fld_array_info && !as_blob) |
| 2752 | { |
| 2753 | fb_utils::snprintf(string, MAX_REF_SIZE, "%s%d", names[isc_a_pos], |
| 2754 | reference->ref_field->fld_array_info->ary_ident); |
| 2755 | } |
| 2756 | else |
| 2757 | fb_utils::snprintf(string, MAX_REF_SIZE, "%s%d", names[isc_b_pos], reference->ref_ident); |
| 2758 | |
| 2759 | return string; |
| 2760 | } |
| 2761 | |
| 2762 | |
| 2763 | //____________________________________________________________ |
no test coverage detected