Re: [Firebird-devel] The IBatch Interface and Buffer Overflow

2021-08-20 Thread Alex Peshkoff via Firebird-devel
On 8/20/21 4:01 PM, Tony Whyman wrote: .. With my test data, the buffer overflow occurs after several thousand calls to IBatch::add. The number of message buffers lost is of the order of hundreds. I don't want to have to keep a copy of every message buffer as that could result in other

[Firebird-devel] The IBatch Interface and Buffer Overflow

2021-08-20 Thread Tony Whyman
After adding support for the IBatch interface to IBX and then stress testing the implementation, I found that IBatch, when used with a remote server was silently losing data when the buffer size was exceeded. That issue has now been fixed. See -

Re: [Firebird-devel] isc_info_sql_stmt_type/isc_info_sql_stmt_flags

2021-08-20 Thread Mark Rotteveel
On 19-08-2021 20:09, Dmitry Yemanov wrote: 19.08.2021 18:29, Dimitry Sibiryakov wrote: I'm not sure why the client application would need to know the statement type at all ;-) Distinguish DDL from DML and transaction control - quite useful if you accept SQL from outside of application. I

Re: [Firebird-devel] isc_info_sql_stmt_type/isc_info_sql_stmt_flags

2021-08-20 Thread Mark Rotteveel
On 19-08-2021 16:57, Adriano dos Santos Fernandes wrote: On 19/08/2021 11:43, Dmitry Yemanov wrote: Perhaps, although I'm not sure why the client application would need to know the statement type at all ;-) Before isc_info_sql_stmt_flags, I think that was the way to know if there is cursor