Re: [Firebird-devel] Batch completion state's simplified error blocks

2022-01-14 Thread Jiří Činčura
I can replicate it even with native code with 4.0.1.2704 fbclient (and same 
server). I'll create GitHub issue.

-- 
Mgr. Jiří Činčura
https://www.tabsoverspaces.com/



Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Batch completion state's simplified error blocks

2022-01-14 Thread Jiří Činčura
Sending 66 messages with error the response is:
  statement handle: 2
  p_batch_reccount: 66
  p_batch_updates: 66
  p_batch_vectors: 64
  p_batch_errors: 2
And again not a single integer in buffer for p_batch_errors.

-- 
Mgr. Jiří Činčura
https://www.tabsoverspaces.com/



Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] Batch completion state's simplified error blocks

2022-01-14 Thread Jiří Činčura
Hi *,

It looks like server is not sending data according to description for 
op_batch_cs. 

I get this:
  statement handle: 2
  p_batch_reccount: 65
  p_batch_updates: 65
  p_batch_vectors: 64
  p_batch_errors: 1
Which makes sense (I've sent 65 messages with error). Then I read 65 integers 
for p_batch_updates, then 64 (int, status vector) pairs for p_batch_vectors. 
Finally I want to read one integer for p_batch_errors, but there's nothing left 
in input network buffer.

Did I miss something?

-- 
Mgr. Jiří Činčura
https://www.tabsoverspaces.com/


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel