8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 16:03:03 +01:00
firebird-mirror/builds
TreeHunter 174038cbf5
Refactoring of CAST FORMAT (#7881) (#8134)
* Refactoring of CAST FORMAT

Move CAST FORMAT logic to separate file.
Separation of logic into parsing stage and execution stage.
Add more FORMAT validation based on SQL standard.

* Add more unit tests for incorrect FORMAT

* Remove incorrect const specifier

* Fixes after review

Minor code changes.
Move public CVT_FORMAT functions  to CvtFormat.h.
Add new error message if same is used pattern twice in string to datetime conversion.

* Fix indents in comments

* Add new files to windows build

* Remove constexpr specifier from functions that is not real constexpr

Because std::isdigit and std::isalpha are not constexpr.

---------

Co-authored-by: Artyom Ivanov <artyom.ivanov@red-soft.ru>
2024-06-03 10:43:06 -03:00
..
cmake Refactored the optimizer. Better debug logging. 2022-02-09 10:20:16 +03:00
docker Upgrade glibc to 2.28 and arm64 binutils to 2.40. 2024-04-19 08:04:57 -03:00
install Fixed #8037: remove directory entries from debug symbols tarball 2024-04-24 20:31:40 +03:00
make.new/config Update 2021-12-03 13:59:09 +03:00
misc Remove QLI. (#6840) 2021-06-08 10:31:18 -03:00
posix Switch Linux docker build from ubuntu to debian. 2024-04-18 22:04:22 -03:00
win32 Refactoring of CAST FORMAT (#7881) (#8134) 2024-06-03 10:43:06 -03:00