On 31/10/2013 12:38, Dimitry Sibiryakov wrote: > Hello, All. > > As I understand, subj is supposed to be used this way: first, for every > field/parameter > set all required metadata (type, subtype, charset, scale, etc), then call > getMetadata() to > get ready-to-use message block. Is it right? > What is the purpose on truncate() method? > In external UDR triggers, messages are constructed by name (of table fields) and may not need all the table fields.
truncate and moveNameToIndex has added for this purpose, you can check more on UdrCppExample.cpp and Message.h. Adriano ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel