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

Function MOV_get_string_ptr

src/jrd/mov.cpp:202–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200
201
202int MOV_get_string_ptr(Jrd::thread_db* tdbb,
203 const dsc* desc,
204 USHORT* ttype,
205 UCHAR** address, vary* temp, USHORT length)
206{
207/**************************************
208 *
209 * M O V _ g e t _ s t r i n g _ p t r
210 *
211 **************************************
212 *
213 * Functional description
214 * Get address and length of string, converting the value to
215 * string, if necessary. The caller must provide a sufficiently
216 * large temporary. The address of the resultant string is returned
217 * by reference. Get_string returns the length of the string.
218 *
219 * Note: If the descriptor is known to be a string type, the third
220 * argument (temp buffer) may be omitted.
221 *
222 **************************************/
223
224 return CVT_get_string_ptr(desc, ttype, address, temp, length, tdbb->getAttachment()->att_dec_status);
225}
226
227
228int MOV_get_string(Jrd::thread_db* tdbb, const dsc* desc, UCHAR** address, vary* temp, USHORT length)

Callers 5

executeMethod · 0.85
performMethod · 0.85
stringBooleanMethod · 0.85
EVL_make_valueFunction · 0.85
MOV_get_stringFunction · 0.85

Calls 2

CVT_get_string_ptrFunction · 0.70
getAttachmentMethod · 0.45

Tested by

no test coverage detected