Re: [Firebird-devel] Content for p_batch_create.p_batch_pb

2021-12-17 Thread Jiří Činčura
Thanks. Weird, that's exactly what I'm sending. Looks like there's something else I'm missing on protocol level. Guess it's gonna be good old days fiddling with bytes until I see what I'm doing wrong. :) -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ Firebird-Devel mailing list, web i

Re: [Firebird-devel] Content for p_batch_create.p_batch_pb

2021-12-17 Thread Alex Peshkoff via Firebird-devel
On 12/16/21 21:47, Jiří Činčura wrote: Sending binary to devel failed - Jiri if you still need it send me your private email. A. Is that the msgLen in BlrFromMessage::buildBlr? Looking at the code then the length for SQL_LONG should be 6 (4 + 2), isn't it? Yes. When you will send >1 messa

Re: [Firebird-devel] Content for p_batch_create.p_batch_pb

2021-12-17 Thread Alex Peshkoff via Firebird-devel
On 12/17/21 12:06, Jiří Činčura wrote: Should be 0, NULL. And with (TAG_RECORD_COUNTS, 1)? 10 {1, 2, 4, 0, 0, 0, 1, 0, 0, 0} But please don't use me as XpbBuilder more ;-) Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

Re: [Firebird-devel] Content for p_batch_create.p_batch_pb

2021-12-17 Thread Jiří Činčura
> Should be 0, NULL. And with (TAG_RECORD_COUNTS, 1)? -- 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] Content for p_batch_create.p_batch_pb

2021-12-17 Thread Alex Peshkoff via Firebird-devel
On 12/16/21 22:27, Jiří Činčura wrote: BTW just to make sure, what is the 2nd and 3rd line going to return? IXpbBuilder* pb = utl->getXpbBuilder(&status, IXpbBuilder::BATCH, NULL, 0); pb->getBufferLength(&status); pb->getBuffer(&status); Should be 0, NULL. Firebird-Devel mailing list, web