Commit 90e0f49
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 <[email protected]>1 parent d79c643 commit 90e0f49
File tree
4 files changed
+174
-88
lines changed- src
- common
- tests
- include
- firebird/impl/msg
- gen
4 files changed
+174
-88
lines changed
0 commit comments