Join Firebird!

Join Firebird Foundation to support Firebird SQL development and receive multiple bonuses

Follow Us

Select your media preference

Newsletter

Subscribe to Firebird’s Newsletter to receive the latest news

Developer's Resport: Core Coding and Development

April to August 2021

April

master
  • Fixed bug CORE-6531 : COMPUTED BY column looses charset and collate of source field <F> when <F> is either of type BLOB or VARCHAR casted to BLOB.
  • Fixed bug CORE-6532 : Results of сoncatenation with blob has no info about collation of source columns (which are declared with such info)
  • Fixed XNET protocol after recent changes.
  • Fixed wrong sync used after write failure.
  • Added missing sync to the CCH_forget_page().
  • Fixed bug CORE-6003 : RDB$GET_TRANSACTION_CN works different in Super and Classic
  • Additional patch for CORE-6015 : Segfault when using expression index with complex expression
  • Changed way to detect indirect recursion: when req_caller chain is broken by EXECUTE STATEMENT.
  • Allow to cancel statement\attachment when it is waiting on LCK_record_gc lock.
  • Merge pull request #311 from FirebirdSQL/TempTableDirectory
  • Merge pull request #314 from FirebirdSQL/core-5515
  • Attempt to fix Travis build on Xenial Linux Fixed bug 6777 : AV when engine shut down and cancels attachment that is waiting in lock manager.
  • Fixed bug GH-6782 : Getting "records fetched" for functions/procedures in trace.
B3_0_Release
  • Fixed bug CORE-6531 : COMPUTED BY column looses charset and collate of source field <F> when <F> is either of type BLOB or VARCHAR casted to BLOB.
  • Fixed bug CORE-6532 : Results of сoncatenation with blob has no info about collation of source columns (which are declared with such info)
  • Fixed XNET protocol after recent changes.
  • Fixed wrong sync used after write failure.
  • Added missing sync to the CCH_forget_page().
  • Backport from master reworked fix for CORE-6015 : Segfault when using expression index with complex expression.
  • Additional patch for CORE-6015 : Segfault when using expression index with complex expression.
  • Changed way to detect indirect recursion: when req_caller chain is broken by EXECUTE STATEMENT.
  • Allow to cancel statement\attachment when it is waiting on LCK_record_gc lock.
  • Backport fix for bug GH-6777 : AV when engine shut down and cancels attachment that is waiting in lock manager.
  • Fixed bug GH-6782 : Getting "records fetched" for functions/procedures in trace.
  • This should fix bug GH-6781 : Crashing process hangs (UDF exception). Another attempt to fix bug GH-6781 : Crashing process hangs (UDF exception).

May

master
  • Fixed bug GH-6785 : problem when restoring the database firebird 4 rc1 4.0.0.2353
  • Improvement GH-6748 : Freeing a statement using DSQL_drop or DSQL_unprepare should send free packet immediately [CORE6519] 
  • Fixed bugs GH-3106 : Many indexed reads in a compound index with NULLs [CORE2709]
  • Fixed bugs GH-3810 : Wrong or missing IS NULL optimization (regression) [CORE3449]
  • Fixed bug GH-6781 : Crashing process hangs (UDF exception).
  • Fixed bug #6802 : When the statement timeout is set, it causes the lock manager to delay reporting deadlocks until timeout is expired
B3_0_Release
  • Next attempt to fix bug GH-6781 : Crashing process hangs (UDF exception).
  • Improvement GH-6748 : Freeing a statement using DSQL_drop or DSQL_unprepare should send free packet immediately [CORE6519]

June

master
  • Fixed bug GH-6866 : Some orphan records left at RDB$SECURITY_CLASSES and RDB$USER_PRIVILEGES after DROP PROCEDURE\FUNCTION
  • Fixed few inconsistencies introduced when VIO_erase() started to use update in place:
    - GC thread\sweeper ignores deleted records with no backversions, that should be cleaned up,
    - VIO_erase wrongly increments number of deleted records in case of failure (lock conflict, etc),
    - missing notification of GC thread in VIO_erase().
v4.0-release
  • Fixed bug GH-6866 : Some orphan records left at RDB$SECURITY_CLASSES and RDB$USER_PRIVILEGES after DROP PROCEDURE\FUNCTION
  • Fixed few inconsistencies introduced when VIO_erase() started to use update in place:
    - GC thread\sweeper ignores deleted records with no backversions, that should be cleaned up,
    - VIO_erase wrongly increments number of deleted records in case of failure (lock conflict, etc),
    - missing notification of GC thread in VIO_erase().
  • Fixed memory leak found by Jiří, see "Memory leak with external engine plugin" in fb-devel
B3_0_Release
  • Fixed bug GH-6866 : Some orphan records left at RDB$SECURITY_CLASSES and RDB$USER_PRIVILEGES after DROP PROCEDURE\FUNCTION work/gh-6843
  • Fixed bug GH-6843 : Crash when UDR is used by system attachment, for ex. Garbage Collector

July

master
  • Correction for my old commit (AV detected by tests bugs.core_3323, bugs.core_5645 and bugs.core_5972)
  • Fixed memory leak found by Jiří, see "Memory leak with external engine plugin" in fb-devel
  • Fixed tiny memory leak.
  • Fixed incorrect pools usage leading to memory leaks.
  • Make sure Engine instance is not destroyed before SharedXXX objects, that uses pointer on Engine in own dtor's.
  • Also, plugins (i.e. Engine) must be released via Plugin Manager, not directly.
  • Postfix (incorrect pools usage leading to memory leaks).
v4.0-release
  • Fixed tiny memory leak.
  • Fixed incorrect pools usage leading to memory leaks.
  • Make sure Engine instance is not destroyed before SharedXXX objects, that uses pointer on Engine in own dtor's.
    Also, plugins (i.e. Engine) must be released via Plugin Manager, not directly.
  • Correction for my old commit (AV detected by tests bugs.core_3323, bugs.core_5645 and bugs.core_5972)
  • Postfix (incorrect pools usage leading to memory leaks).
B3_0_Release
  • Backported PR168 and PR294
  • Backport fixes for memory leaks found by Jiří, see "Memory leak with external engine plugin" in fb-devel
  • Make sure Engine instance is not destroyed before SharedXXX objects, that uses pointer on Engine in own dtor's.
    Also, plugins (i.e. Engine) must be released via Plugin Manager, not directly.
  • Backport one more fix against memory leak in UDR

August

master
  • Frontported additional patch for #6027 : Installation of Firebird 3.0.3 on SLES 12 SP3 fails with ''Could not find acceptable ICU library".
  • Fixed bug #6918 : Service detach is always traced
  • Follow Alex commit de15522f (Fixed #6886: Different interfaces behavior depending upon source of interface). This should fix numerous crashes shown by fb-tests
  • Merge pull request #6938 from red-soft-ru/4_0_drop_gtt_fix
v4.0-release
  • Additional patch for #6027 : Installation of Firebird 3.0.3 on SLES 12 SP3 fails with ''Could not find acceptable ICU library". This should fix build on Ubuntu 18
  • Another attempt to fix a build on Ubuntu 18
  • Fixed build on Alpine Linux.
  • Added tests for presence of dlinfo() and its options on building host.
  • Fixed bug #6918 : Service detach is always traced
  • Merge pull request #6938 from red-soft-ru/4_0_drop_gtt_fix
B3_0_Release
  • Fixed bug #6918 : Service detach is always traced
  •  Merge pull request #6938 from red-soft-ru/4_0_drop_gtt_fix
Vladyslav Khorsun
Dnetpropetrovsk, Ukraine

April to August 2021

April

master
  • Fixed bug CORE-6531 : COMPUTED BY column looses charset and collate of source field <F> when <F> is either of type BLOB or VARCHAR casted to BLOB.
  • Fixed bug CORE-6532 : Results of сoncatenation with blob has no info about collation of source columns (which are declared with such info)
  • Fixed XNET protocol after recent changes.
  • Fixed wrong sync used after write failure.
  • Added missing sync to the CCH_forget_page().
  • Fixed bug CORE-6003 : RDB$GET_TRANSACTION_CN works different in Super and Classic
  • Additional patch for CORE-6015 : Segfault when using expression index with complex expression
  • Changed way to detect indirect recursion: when req_caller chain is broken by EXECUTE STATEMENT.
  • Allow to cancel statement\attachment when it is waiting on LCK_record_gc lock.
  • Merge pull request #311 from FirebirdSQL/TempTableDirectory
  • Merge pull request #314 from FirebirdSQL/core-5515
  • Attempt to fix Travis build on Xenial Linux Fixed bug 6777 : AV when engine shut down and cancels attachment that is waiting in lock manager.
  • Fixed bug GH-6782 : Getting "records fetched" for functions/procedures in trace.
B3_0_Release
  • Fixed bug CORE-6531 : COMPUTED BY column looses charset and collate of source field <F> when <F> is either of type BLOB or VARCHAR casted to BLOB.
  • Fixed bug CORE-6532 : Results of сoncatenation with blob has no info about collation of source columns (which are declared with such info)
  • Fixed XNET protocol after recent changes.
  • Fixed wrong sync used after write failure.
  • Added missing sync to the CCH_forget_page().
  • Backport from master reworked fix for CORE-6015 : Segfault when using expression index with complex expression.
  • Additional patch for CORE-6015 : Segfault when using expression index with complex expression.
  • Changed way to detect indirect recursion: when req_caller chain is broken by EXECUTE STATEMENT.
  • Allow to cancel statement\attachment when it is waiting on LCK_record_gc lock.
  • Backport fix for bug GH-6777 : AV when engine shut down and cancels attachment that is waiting in lock manager.
  • Fixed bug GH-6782 : Getting "records fetched" for functions/procedures in trace.
  • This should fix bug GH-6781 : Crashing process hangs (UDF exception). Another attempt to fix bug GH-6781 : Crashing process hangs (UDF exception).

May

master
  • Fixed bug GH-6785 : problem when restoring the database firebird 4 rc1 4.0.0.2353
  • Improvement GH-6748 : Freeing a statement using DSQL_drop or DSQL_unprepare should send free packet immediately [CORE6519] 
  • Fixed bugs GH-3106 : Many indexed reads in a compound index with NULLs [CORE2709]
  • Fixed bugs GH-3810 : Wrong or missing IS NULL optimization (regression) [CORE3449]
  • Fixed bug GH-6781 : Crashing process hangs (UDF exception).
  • Fixed bug #6802 : When the statement timeout is set, it causes the lock manager to delay reporting deadlocks until timeout is expired
B3_0_Release
  • Next attempt to fix bug GH-6781 : Crashing process hangs (UDF exception).
  • Improvement GH-6748 : Freeing a statement using DSQL_drop or DSQL_unprepare should send free packet immediately [CORE6519]

June

master
  • Fixed bug GH-6866 : Some orphan records left at RDB$SECURITY_CLASSES and RDB$USER_PRIVILEGES after DROP PROCEDURE\FUNCTION
  • Fixed few inconsistencies introduced when VIO_erase() started to use update in place:
    - GC thread\sweeper ignores deleted records with no backversions, that should be cleaned up,
    - VIO_erase wrongly increments number of deleted records in case of failure (lock conflict, etc),
    - missing notification of GC thread in VIO_erase().
v4.0-release
  • Fixed bug GH-6866 : Some orphan records left at RDB$SECURITY_CLASSES and RDB$USER_PRIVILEGES after DROP PROCEDURE\FUNCTION
  • Fixed few inconsistencies introduced when VIO_erase() started to use update in place:
    - GC thread\sweeper ignores deleted records with no backversions, that should be cleaned up,
    - VIO_erase wrongly increments number of deleted records in case of failure (lock conflict, etc),
    - missing notification of GC thread in VIO_erase().
  • Fixed memory leak found by Jiří, see "Memory leak with external engine plugin" in fb-devel
B3_0_Release
  • Fixed bug GH-6866 : Some orphan records left at RDB$SECURITY_CLASSES and RDB$USER_PRIVILEGES after DROP PROCEDURE\FUNCTION work/gh-6843
  • Fixed bug GH-6843 : Crash when UDR is used by system attachment, for ex. Garbage Collector

July

master
  • Correction for my old commit (AV detected by tests bugs.core_3323, bugs.core_5645 and bugs.core_5972)
  • Fixed memory leak found by Jiří, see "Memory leak with external engine plugin" in fb-devel
  • Fixed tiny memory leak.
  • Fixed incorrect pools usage leading to memory leaks.
  • Make sure Engine instance is not destroyed before SharedXXX objects, that uses pointer on Engine in own dtor's.
  • Also, plugins (i.e. Engine) must be released via Plugin Manager, not directly.
  • Postfix (incorrect pools usage leading to memory leaks).
v4.0-release
  • Fixed tiny memory leak.
  • Fixed incorrect pools usage leading to memory leaks.
  • Make sure Engine instance is not destroyed before SharedXXX objects, that uses pointer on Engine in own dtor's.
    Also, plugins (i.e. Engine) must be released via Plugin Manager, not directly.
  • Correction for my old commit (AV detected by tests bugs.core_3323, bugs.core_5645 and bugs.core_5972)
  • Postfix (incorrect pools usage leading to memory leaks).
B3_0_Release
  • Backported PR168 and PR294
  • Backport fixes for memory leaks found by Jiří, see "Memory leak with external engine plugin" in fb-devel
  • Make sure Engine instance is not destroyed before SharedXXX objects, that uses pointer on Engine in own dtor's.
    Also, plugins (i.e. Engine) must be released via Plugin Manager, not directly.
  • Backport one more fix against memory leak in UDR

August

master
  • Frontported additional patch for #6027 : Installation of Firebird 3.0.3 on SLES 12 SP3 fails with ''Could not find acceptable ICU library".
  • Fixed bug #6918 : Service detach is always traced
  • Follow Alex commit de15522f (Fixed #6886: Different interfaces behavior depending upon source of interface). This should fix numerous crashes shown by fb-tests
  • Merge pull request #6938 from red-soft-ru/4_0_drop_gtt_fix
v4.0-release
  • Additional patch for #6027 : Installation of Firebird 3.0.3 on SLES 12 SP3 fails with ''Could not find acceptable ICU library". This should fix build on Ubuntu 18
  • Another attempt to fix a build on Ubuntu 18
  • Fixed build on Alpine Linux.
  • Added tests for presence of dlinfo() and its options on building host.
  • Fixed bug #6918 : Service detach is always traced
  • Merge pull request #6938 from red-soft-ru/4_0_drop_gtt_fix
B3_0_Release
  • Fixed bug #6918 : Service detach is always traced
  •  Merge pull request #6938 from red-soft-ru/4_0_drop_gtt_fix
Vladyslav Khorsun
Dnetpropetrovsk, Ukraine