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

Function CMP_external_field

src/gpre/cmp.cpp:302–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300//
301
302void CMP_external_field( gpre_req* request, const gpre_fld* field)
303{
304
305 switch (field->fld_dtype)
306 {
307 case dtype_cstring:
308 request->add_byte(blr_text2);
309 request->add_word(field->fld_ttype);
310 request->add_word(field->fld_length - 1);
311 break;
312
313 case dtype_text:
314 request->add_byte(blr_text2);
315 request->add_word(field->fld_ttype);
316 request->add_word(field->fld_length);
317 break;
318
319 case dtype_varying:
320 request->add_byte(blr_varying2);
321 request->add_word(field->fld_ttype);
322 request->add_word(field->fld_length);
323 break;
324
325 default:
326 cmp_field(request, field, 0);
327 break;
328 }
329}
330
331
332//____________________________________________________________

Callers 2

CME_exprFunction · 0.85
cmp_castFunction · 0.85

Calls 3

cmp_fieldFunction · 0.70
add_byteMethod · 0.45
add_wordMethod · 0.45

Tested by

no test coverage detected