On 23/08/2021 13:03, Alex Peshkoff via Firebird-devel wrote:
The minor bug is that if TAG_BUFFER_BYTES_SIZE is set to > 256MB no error status is reported on a call to createBatch. Instead, you only know you have a problem when an error is returned from IBatch::add - looks like the buffer size is simply limited to 256MB.

Ahh, that's pretty easy to fix but that's traditional approach of using constant as 'hint' and continue operation. For example:

SQL> CREATE DATABASE 'qq' pagesize 100000;
SQL> show db;
Database: qq
        Owner: SYSDBA
PAGE_SIZE 32768
..................

Same for conf files - invalid values are treated as defaults.

So chaging behavior in single place - not sure it's good idea.

True, but the difference here is that while I can check the actual page size, I can't check the batch buffer size.


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

Reply via email to