On 10/05/2018 14:47, Dimitry Sibiryakov wrote: > 10.05.2018 19:14, Adriano dos Santos Fernandes wrote: >>> IMHO, one of advantages of using UDR for subj is that much more >>> fields can be added any time as needed by upgrading a single library >>> while a virtual table is fixed to ODS and has to be decided once and >>> forever. >>> >> UDR needs metadata too, so I don't see a difference in this respect. > > Hmmm... When I heard that UDRs in contrast to UDFs are invulnerable > to parameter redeclaration exploit, I decided that they provide > metadata from inside and that's what IMessageMetadata is for. If not, > what the purpose of IMessageMetadata that is returned from them? > > Same as it is for the client.
Code declares the parameter as it needs it, independent of metadata. Of course, this is optional, as in the client. Adriano ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel