8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 20:43:02 +01:00
firebird-mirror/builds/posix
TreeHunter a429459b76
Change some aspects of the string-to-date conversion with format to make it more similar to the SQL standard #2388 (#7881)
* Use current TimeStamp for data in stringToDate conversion if it's not specify

Also fix RM pattern and change (A/P)M to (A/P).M.

* Add more tests

* Add TimeStamp validation

Also move duplicated code to functions.

* Add more unit tests for "YY" and "YYY" patterns

* Use Callback for getting current date

It's better because we can mock Callback for unit tests.

* Fix exception and README description

* Add ability to print blr_cast_format

* Put a comment about new BLR in the right place

* Add information about behavior of string to datetime conversion

* Rework old patterns and add new ones

Add A.M, P.M., RR and RRRR patterns.
Rework YY, YYY, HH and HH12 patterns due to new patterns.
Add restriction from SQL standard to format.
Fix incorrect error message for mismatched pattern.
Fix bug with 0 hours in HH12.

* Add more unit tests

* Update doc for cast format

* Allow specification of log_level for BOOST_TESTS in make

* Change enum class to enum in namespace

* Switch from plain enum to constexpr values

---------

Co-authored-by: Artyom Ivanov <artyom.ivanov@red-soft.ru>
2024-03-04 14:43:14 +03:00
..
darwin.defaults Remove -flat_namespace from MacOS build - see #7827. 2023-11-15 10:48:32 -03:00
empty.vers MacOS: build libicu and static libc++ using vcpkg. 2023-08-23 23:09:49 -03:00
fbintl.vers Postfix for #7169 - Add LD_lookup_texttype_with_status in fbintl.vers. 2022-04-21 22:34:10 -03:00
fbplugin.vers New plugin manager. Use it for all types of plugins. 2011-01-14 17:31:40 +00:00
firebird.vers Implemented CORE-6320: Replace Util methods to get interface pointer by legacy handle with plain functions 2020-05-29 15:44:54 +03:00
ib_util.vers Use same export symbol lists for all posix platforms, added script building platform-specific format 2010-03-14 13:44:57 +00:00
make.android.arm64 Flat Android tree. 2023-02-04 18:32:57 -03:00
make.android.arme Flat Android tree. 2023-02-04 18:32:57 -03:00
make.android.x86 Flat Android tree. 2023-02-04 18:32:57 -03:00
make.android.x86_64 Flat Android tree. 2023-02-04 18:32:57 -03:00
make.defaults Prepare ISQL to have unit tests. 2023-09-29 19:01:35 -03:00
make.platform.solaris.examples Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
make.rules MacOS: build libicu and static libc++ using vcpkg. 2023-08-23 23:09:49 -03:00
make.shared.targets Fix problem with client-only build requiring btyacc's generated files present (#7445) 2023-09-15 22:27:52 -03:00
make.shared.variables Prepare ISQL to have unit tests. 2023-09-29 19:01:35 -03:00
Makefile.in Change some aspects of the string-to-date conversion with format to make it more similar to the SQL standard #2388 (#7881) 2024-03-04 14:43:14 +03:00
Makefile.in.examples Fixed #7113: Wrong path in object pascal readme.md 2022-01-27 13:25:14 +03:00
Makefile.in.extern.editline Generate static libs in temp directory. 2023-02-04 18:32:57 -03:00
Makefile.in.plugins_examples Fix MacOS build. 2023-09-18 20:20:38 -03:00
postfix.darwin Fix #7827 - Problem using python firebird-driver with either intel or m1 Mac buiilds. 2023-11-15 10:48:25 -03:00
prefix.aix_powerpc Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
prefix.aix_powerpc_xlc Fixed CORE-3677: Stop utilities to export entrypoints 2011-12-27 08:14:58 +00:00
prefix.darwin_aarch64 MacOS: build libicu and static libc++ using vcpkg. 2023-08-23 23:09:49 -03:00
prefix.darwin_i386 Add rpath to empbuild in MacOS. 2021-12-17 09:25:09 -03:00
prefix.darwin_powerpc Add rpath to empbuild in MacOS. 2021-12-17 09:25:09 -03:00
prefix.darwin_ppc64 Add rpath to empbuild in MacOS. 2021-12-17 09:25:09 -03:00
prefix.darwin_x86_64 MacOS: build libicu and static libc++ using vcpkg. 2023-08-23 23:09:49 -03:00
prefix.example Applied patch from Damyan Ivanov: no compiler flag repetinion when CXXFLAGS is set in the environment 2011-03-27 11:22:57 +00:00
prefix.freebsd Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
prefix.freebsd_amd64 Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
prefix.freebsd_powerpc Add support for FreeBSD/powerpc 2022-12-22 10:40:37 +03:00
prefix.freebsd_powerpc64 array.epp and blob.epp do not exist anymore. 2022-12-15 22:03:50 -03:00
prefix.freebsd_powerpc64el array.epp and blob.epp do not exist anymore. 2022-12-15 22:03:50 -03:00
prefix.hpux Fixed CORE-3677: Stop utilities to export entrypoints 2011-12-27 08:14:58 +00:00
prefix.hpux_aCC Introduce the external memory pool. 2021-10-05 11:24:08 -03:00
prefix.hpux_ia64 Fixed CORE-3677: Stop utilities to export entrypoints 2011-12-27 08:14:58 +00:00
prefix.linux Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
prefix.linux_amd64 Misc 2023-09-07 19:40:31 +03:00
prefix.linux_arm Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
prefix.linux_arm64 Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
prefix.linux_generic Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
prefix.linux_ia64 Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
prefix.linux_loongarch Add LoongArch support 2023-08-30 11:09:19 +03:00
prefix.linux_mips Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
prefix.linux_mips64el Add linux/mips64el support 2022-08-04 16:08:49 +03:00
prefix.linux_mipsel Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
prefix.linux_powerpc Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
prefix.linux_powerpc64 Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
prefix.linux_powerpc64el Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
prefix.linux_riscv64 Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
prefix.linux_s390x Fix for #6978: FB4 build fails on big endian 2021-09-22 13:11:49 +03:00
prefix.linux_sparc32 Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
prefix.mingw Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
prefix.netbsd Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
prefix.solaris Fixed CORE-3677: Stop utilities to export entrypoints 2011-12-27 08:14:58 +00:00
prefix.solaris-64gcc Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
prefix.solx86 cleanup 2011-01-16 14:03:18 +00:00
prefix.solx86gcc Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
prefix.solx86gcc_64 Turn warning "deleting pointer to incomplete type may cause undefined behavior" in error in posix build. 2021-07-08 14:30:17 -03:00
udr_plugin.vers Misc. 2015-02-14 18:55:00 +00:00
vers.sh.in Add platform support for Linux/m68k (#51) 2016-10-14 13:12:09 +03:00