| 2254 | // |
| 2255 | |
| 2256 | static void put_array_info( gpre_req* request, const gpre_fld* field) |
| 2257 | { |
| 2258 | const ary* array_info = field->fld_array_info; |
| 2259 | const SSHORT dims = (SSHORT) array_info->ary_dimension_count; |
| 2260 | put_numeric(request, isc_dyn_fld_dimensions, dims); |
| 2261 | for (SSHORT i = 0; i < dims; ++i) |
| 2262 | { |
| 2263 | put_numeric(request, isc_dyn_def_dimension, i); |
| 2264 | request->add_byte(isc_dyn_dim_lower); |
| 2265 | const SLONG lrange = (SLONG) (array_info->ary_rpt[i].ary_lower); |
| 2266 | request->add_word(4); |
| 2267 | request->add_long(lrange); |
| 2268 | request->add_byte(isc_dyn_dim_upper); |
| 2269 | const SLONG urange = (SLONG) (array_info->ary_rpt[i].ary_upper); |
| 2270 | request->add_word(4); |
| 2271 | request->add_long(urange); |
| 2272 | request->add_byte(isc_dyn_end); |
| 2273 | } |
| 2274 | } |
| 2275 | |
| 2276 | |
| 2277 | //____________________________________________________________ |
no test coverage detected