MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / get_string_len

Function get_string_len

src/gpre/cme.cpp:1965–1978  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1963//
1964
1965static USHORT get_string_len( const gpre_fld* field)
1966{
1967 fb_assert(field->fld_dtype <= MAX_UCHAR);
1968
1969 dsc tmp_dsc;
1970 tmp_dsc.dsc_dtype = (UCHAR) field->fld_dtype;
1971 tmp_dsc.dsc_length = field->fld_length;
1972 tmp_dsc.dsc_scale = 0;
1973 tmp_dsc.dsc_sub_type = 0;
1974 tmp_dsc.dsc_flags = 0;
1975 tmp_dsc.dsc_address = NULL;
1976
1977 return DSC_string_length(&tmp_dsc);
1978}
1979
1980//____________________________________________________________
1981//

Callers 1

CME_get_dtypeFunction · 0.85

Calls 1

DSC_string_lengthFunction · 0.85

Tested by

no test coverage detected