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

Function MOV_make_string

src/jrd/mov.cpp:330–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328
329
330USHORT MOV_make_string(Jrd::thread_db* tdbb,
331 const dsc* desc,
332 USHORT ttype,
333 const char** address,
334 vary* temp,
335 USHORT length)
336{
337/**************************************
338 *
339 * M O V _ m a k e _ s t r i n g
340 *
341 **************************************
342 *
343 * Functional description
344 * Make a string, in a specified text type, out of a descriptor.
345 * The caller must provide a sufficiently
346 * large temporary. The address of the resultant string is returned
347 * by reference.
348 * MOV_make_string returns the length of the string in bytes.
349 *
350 * Note: If the descriptor is known to be a string type in the
351 * given ttype the argument (temp buffer) may be omitted.
352 * But this would be a bad idea in general.
353 *
354 **************************************/
355
356 return CVT_make_string(desc, ttype, address, temp, length, tdbb->getAttachment()->att_dec_status, ERR_post);
357}
358
359
360ULONG MOV_make_string2(Jrd::thread_db* tdbb,

Callers 5

stringBooleanMethod · 0.85
validateExpressionsFunction · 0.85
EVL_validateFunction · 0.85
slice_callbackFunction · 0.85
MOV_get_metanameFunction · 0.85

Calls 2

CVT_make_stringFunction · 0.85
getAttachmentMethod · 0.45

Tested by

no test coverage detected