On 2021-12-16 10:28, Alex Peshkoff via Firebird-devel wrote:
be segmented and swap bytes in segment length when needed. Afraid
there is - as always :( - no protocol description except source code.
Key ops are op_batch_msg, op_batch_blob_stream & also op_batch_cs
(retuning batch execution state to client).
That is not entirely true, there is [1] which was basically
reverse-engineerd by Carlos Guzman Alvarez, and I updated some of it for
protocol 11. Personally, I really don't like the current situation that
the core developers don't document the actual protocol, because reverse
engineering from the code and by using things like WireShark is
extremely painful, confusing and error prone. With the batch API it's
even worse IMHO, because even the usage examples seem to be incomplete,
and too basic/simple and glosses over things.
Mark
[1]:
https://firebirdsql.org/file/documentation/html/en/firebirddocs/wireprotocol/firebird-wire-protocol.html
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel