On 21/10/2021 03:48, Mark Rotteveel wrote: > On 20-10-2021 16:19, Adriano dos Santos Fernandes wrote: >> On 17/10/2021 08: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 fetching the rows. On the other hand, in ISQL a >>> count of 1 is reported. >>> >>> What could be the reason for this difference? >>> >> >> The internal local temporary table. >> >> I'll look into the problem to fix it. >
Please try the next snapshot. > > I'm also curious why ISQL reports the correct count, or does it just > show the count of rows it fetched? > For SELECT-based statements, yes, ISQL shows the number of printed rows. Adriano Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel