Ред База Данных 5 - 5.2.0
04/08/2026
Changelog:
Update Kafka CDC connector to 2.0.1
- Implement live streaming without keeping logs. RS-235687.
- Do not delete replication log file if kafka producer failed to initialize. RS-235687.
Fixed
- Fix integer truncation in convertLength buffer size calculation. RS-283113.
- Do not connect to the database if the replication configuration is incorrect. FB-8381.
- Сorrection of implementation inaccuracy. RS-285001.
- Incorrect calculation of last used page when database contains only one PIP. FB-8949.
- Fix gbak output some errors and warnings to stderr instead of stdout. RS-258847.
- Errors don't have enough time to be printed. RS-283138.
- Incorrect calculation of last used page. FB-8772.
- Firebird 5.0.4 snapshot (build 1784) performance issue. FB-8948.
- Use of some switches with parameter in gbak's command line before name of database in -SE mode breaks access to databases with non-default security database. FB-8903.
- Remove security class and user privileges from the domain being dropped. Don't grant USAGE permissions (and don't create a security class) for implicit domains (both related to FB-8881: Large amount of unnecessary privileges).
- Cast page to real type in
page_validation_error(). RS-242585. - Fix a deadlock when moving several indexes to another tablespace in a single transaction. RS-282944.
- Add missing sql string copy when charset conversion is not needed. RS-283082.
- Fix incorrect page number in error "Page . . is used but marked free" during gfix validation.
- Rework the fix for FB-7937 and FB-8036 to address regressions FB-8535 (OuterJoinConversion = true causes performance regression) and FB-8821 (natural plan instead of primary/unique index). FB-8535, FB-8821.
- Fix ability to restore invalid PSQL objects. RS-278482.
- Ensure sequences are replicated even if changed in de-facto read-only transactions. FB-8858.
- Backport a bit more code from master. This fixes FB-8914: SELECT with multiple EXISTS sub-queries fails in case of SubQueryConversion = true.
- Wrong result in case of SubQueryConversion = true. FB-8911.
- Result of cross join of two procedures + unioned with common datasource (e.g. rdb) is wrong. FB-8891.
- Fix missing journal statistics.
- Fix zero stats in the WAITFLUSH_TRANSFER counter.
- Rework get/check status functions in replication to avoid unnecessary ping roundtrips.
- Fix missing flush for the journal and crash in the I/O thread.
- Move the entire replication flushing to the dedicated thread, thus making it more asynchronous.
- Password expiration check should be performed regardless of the AUTH_FACTORS parameter. RS-278051.
- Bugcheck during nbackup under high load. FB-8901.
- Fix copying orphan (not in PP) data pages into a new tablespace.
- Recursive search initiated by user with the same name as it's role. RS-276105.
- Avoid recursive lock of
Syncobject on worker detach. - Fix leaks handles of replication applied directory. RS-265959.
- Fix the skip of external routines during restore. RS-272277.
- Add pagespace stats snapshot to minimize delay between queries. RS-268275.
- Restore BLOCK_PREPARE_TRANS flag for sync replication. RS-270942.
- 'Internal error' when calling outer procedure after deleting unused result variable from inner procedure. FB-8851.
- Fix the cardinality estimation (FIRST ROWS case) in HASH JOINs.
- Fix cardinality estimation for the invariant filter.
- Check engine availability when restoring external routines. RS-264532.
- Add missing status vector clearing for JSON ON ERROR clauses. RS-272796.
- Retrying fallocate after interruption. RS-269923.
- Change Replication::Info::active type to SINT64 because it should take negative values.
- Move processing of JSON RETURNING clause on JSON side. RS-242035.
- Fix the ability for users to create themselves in other user managers. RS-269741.
- Fix file name in UTF-8 encoding for gstat. FB-8829.
- appendTableCounts() refactoring, make counters output flexible. RS-265107.
- get_number() throw error when get no digit symbol. RS-233083.
- Fixed potential endless loop inside MET_scan_relation: when relation is system-defined and its ODS is greater than ODS of current database.
- Avoid an infinite loop during table rescan.
- Backup has the same record size calculation algorithm as restore. RS-261763.
- Omit non-ascii symbols when converting unknown CS to UTF8. RS-261278.
- Proper filling of SEC$ADMIN field for users with RDB$DBADMIN and RDB$SYSADMIN roles. RS-254599.
- Postfix for FB-8430. FB-8752.
- Called procedure parameter changes during execution without assignment when deleting from updatable view in Firebird 5. FB-8794.
- Fix restore of relations located in tablespaces when -O option is used. RS-253954.
- Lost ODS version check has been returned. RS-253843.
- Fix file truncation errors during replication in Windows CS.
- Added more information output about an error. RS-251271.
- Correction for passing zero-length SQL to trace. FB-8748.
- Fix error handling in the directory iterator on Windows. Fix incorrect timeout setting for no-space retries in the changelog. Thanks to Vlad Khorsun.
- Show system procedure usage with mask is fixed. RS-252849.
- Get the modification time of a config file with a higher precision to fix cases when it's not reloaded after modification/replacement. FB-8553.
- Prevent SIGFAULT from pools_sync dereference in unit tests at debug build.
- Replace wrong uses of SQLstate class 08 (connection error). FB-8739.
- Add replication journal cleanup when drop database. FB-8626. RS-196883.
- Fix SQL length initialization for trace prepare event. FB-8738.
- Added support for < nul for ReadConsoleW. RS-245762.
- Replication error is raised for CREATE TABLE . . EXTERNAL if the specified disk does not exist on the replica host. FB-8726.
- Add detach replica to shutdown function. FB-8688.
- createDirectory fixed an alignment bug. RS-246140.
- UDF not working on macOS. FB-8712. FB-8705.
- Replace 32-bit offset calculation with 64-bit in
PIO_extend. FB-8709. - Fixed PERCENT_RANK computation. FB-8971.
- I/O error during journal segment flush is ignored. RS-287066.
- This should fix issue with disconnect after event processing as shown by Adriano in firebird-devel.
- Replication stops if GRANT issued by NON-DBA user who has ADMIN role and appropriate object (table, etc) belongs to another user. FB-8867.
- Query issue conversion error from string. FB-7916.
- 'invalid request BLR' puts actual error (and procedure where it happened) at the end where it is truncated by ISC API. FB-8895.
- Check plugin name for directory separator and path component.
Improved
- Allow isc_tpb_read_consistency to imply read committed. FB-8746.
- Add output of the last commit position to rdbreplmgr.
- Add gbak TS restore options to service manager. RS-262321.
- Extend gbak output about compression plugin. RS-262455.
- Increase isql max password length.
- Allow to use RDB$RECORD_VERSION in triggers, indices and RETURNING.
- Backport the remaining fixes and improvements (related to semi-joins) from the master.
- Add warning that not recommended use compression levels greater 19 for zstd. RS-282871.
- Password censorship at the parsing stage. RS-274970.
- Security virtual tables now have access control. RS-256498.
- Update Windows distributions with zlib version 1.3.2. FB-8922.
- Update tzdata to version 2026a. FB-8924.
Added
- Collision list sorting to the total hash join cost.
- Extend authentication logging when the TraceAuthentication parameter is enabled. RS-191400.
- New virtual table SEC$USER_POLICY. RS-237884.
- API method Util::convert. FB-8898.
- New performance info marks, advanced performance info. RS-247842.
- Auth plugin for OpenIDConnect. RS-27895.
View available only to authorised users
Authorisation