[Firebird-devel] Insert counts of UPDATE OR INSERT ... RETURNING statements in Firebird 5

2021-10-17 Thread Mark Rotteveel
I'm making changes to Jaybird to support the new multi-row RETURNING results. When using UPDATE OR INSERT ... RETURNING statements in Firebird 5, the insert count (isc_info_req_insert_count) is 2 instead of 1. Jaybird obtains this count after fetching the rows. On the other hand, in ISQL a co

Re: [Firebird-devel] Insert counts of UPDATE OR INSERT ... RETURNING statements in Firebird 5

2021-10-17 Thread Mark Rotteveel
On 17-10-2021 13:57, Mark Rotteveel wrote: I'm making changes to Jaybird to support the new multi-row RETURNING results. When using UPDATE OR INSERT ... RETURNING statements in Firebird 5, the insert count (isc_info_req_insert_count) is 2 instead of 1. Jaybird obtains this count after fetchin

Re: [Firebird-devel] Insert counts of UPDATE OR INSERT ... RETURNING statements in Firebird 5

2021-10-17 Thread Mark Rotteveel
On 17-10-2021 13:57, Mark Rotteveel wrote: I'm making changes to Jaybird to support the new multi-row RETURNING results. When using UPDATE OR INSERT ... RETURNING statements in Firebird 5, the insert count (isc_info_req_insert_count) is 2 instead of 1. Jaybird obtains this count after fetchin