| 2850 | // |
| 2851 | |
| 2852 | static TEXT* gen_name(TEXT* const string, const ref* reference, bool as_blob) |
| 2853 | { |
| 2854 | |
| 2855 | if (reference->ref_field->fld_array_info && !as_blob) |
| 2856 | fb_utils::snprintf(string, MAX_REF_SIZE, "%s%d", names[isc_a_pos], |
| 2857 | reference->ref_field->fld_array_info->ary_ident); |
| 2858 | else |
| 2859 | fb_utils::snprintf(string, MAX_REF_SIZE, "%s%d", names[isc_b_pos], reference->ref_ident); |
| 2860 | |
| 2861 | return string; |
| 2862 | } |
| 2863 | |
| 2864 | |
| 2865 | //____________________________________________________________ |
no test coverage detected