From: TreeHunter <no...@gi...> - 2025-04-11 10:10:43
|
Branch: refs/heads/master Home: https://github.com/FirebirdSQL/firebird Commit: 90e0f49acac2f317757b9ebecf8935692a2b46df https://github.com/FirebirdSQL/firebird/commit/90e0f49acac2f317757b9ebecf8935692a2b46df Author: TreeHunter <608...@us...> Date: 2025-04-11 (Fri, 11 Apr 2025) Changed paths: M src/common/CvtFormat.cpp M src/common/tests/CvtTest.cpp M src/include/firebird/impl/msg/jrd.h M src/include/gen/Firebird.pas Log Message: ----------- fix(cast-format): Throw exception when value cannot be found for specific pattern in string to datetime conversion (#8501) * fix(cast-format): Throw exception when value cannot be found for specific pattern in string to datetime conversion - Example: CAST('A.M. 8' as time format 'MI A.M. HH12') where value for MI pattern is missing; - Handle integer overflow when converting string to int; * test(cast-format): Add tests for missing values and integer overflow * fix(cast-format): Incorrect comparison with std::from_chars_result error code --------- Co-authored-by: Artyom Ivanov <art...@re...> To unsubscribe from these emails, change your notification settings at https://github.com/FirebirdSQL/firebird/settings/notifications |