Re: [Firebird-devel] IStatus::setErrors2() and malformed input

2020-11-20 Thread Alex Peshkoff via Firebird-devel
On 11/20/20 6:35 PM, Dimitry Sibiryakov wrote: Hello All.   What setErrors2() is supposed to do on malformed input? For example if received length of input buffer is mistakenly small and the last isc_arg_xxx missing its value. setErrors2() is should trust passed arguments, it's added for

[Firebird-devel] IStatus::setErrors2() and malformed input

2020-11-20 Thread Dimitry Sibiryakov
Hello All. What setErrors2() is supposed to do on malformed input? For example if received length of input buffer is mistakenly small and the last isc_arg_xxx missing its value. -- WBR, SD. Firebird-Devel mailing list, web interface at

Re: [Firebird-devel] Null validation error for comparing columns in UPDATE OR INSERT

2020-11-20 Thread Mark Rotteveel
Never mind, I withdraw my question, I had overlooked the fact that this is a direct equivalent of INSERT INTO (id, colval) values (null, 'abc'), which doesn't make much sense either. Mark On 20-11-2020 10:01, Mark Rotteveel wrote: Triggered by the question by Walter R. Ojeda Valient on

[Firebird-devel] Null validation error for comparing columns in UPDATE OR INSERT

2020-11-20 Thread Mark Rotteveel
Triggered by the question by Walter R. Ojeda Valient on firebird-support, I'm wondering if the null validation error that occurs in Firebird 3 with UPDATE OR INSERT is intentional. Specifically, with table: ``` create table uoi_example2 ( id integer generated by default as identity