Red Database 5.0 - v5.0.4

April 21, 2025, 2:42 p.m.

Changelog

Fixed

  • Remove output array limit for JSON_TABLE. RS-225206.
  • Fix incorrect offset calculation in JSON cache for big texts. RS-225206.
  • Wrong results or server crash when using minvalue/maxvalue in join condition. FB-8304, FB-8440, RS-227366.
  • Count FOR ORDINALITY rows at its level. RS-217502.
  • JSON_MODIFY working incorrectly with filter. RS-214079.
  • Incorrect check for running server in the installer and its scripts. RS-88053.
  • Crash in setLockAttachment on disconnect. RS-71697, RS-225805.
  • Disable old debugging code (DEBUG_LCK_LIST) causing the crash. RS-224651.
  • Return an error message with the index name to the user when a corrupted index node is detected. RS-86799.
  • Protect the index-related code from buffer overflow which could be caused by corrupted index nodes. RS-86799.
  • Prohibit calling CCH_release and CCH_handoff if a thread holds no buffers. RS-158363.
  • Do not print errno in error messages in cases when a file descriptor is invalid and I/O functions were not called before. RS-84347.
  • Disabled resetting buffer flags in CCH_shutdown if this function is called from ERR_bugcheck_msg, as this could break the precedence in other active threads. RS-84347.
  • Put the error message into firebird.log before BUGCHECK actions because there is always a risk of crashing. RS-84347.
  • Print a function name in error messages in cases when a file descriptor is invalid (like it's done in PIO_header) for better diagnostics. RS-84347.