8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 21:23:04 +01:00
Commit Graph

92 Commits

Author SHA1 Message Date
Adriano dos Santos Fernandes
d6ad19aa07 Refactor ISQL creating FrontendParser class. 2024-12-30 11:34:19 -03:00
Ilya Eremin
566bebf2d5
Make return-type a compilation error (#8362)
This protects from undefined behavior cases that can be added to the code by mistake.
2024-12-26 14:38:50 +03:00
Adriano dos Santos Fernandes
64c5082247 Add missing tests to Windows build. 2024-11-27 23:08:20 -03:00
Adriano dos Santos Fernandes
3f7f82d640 Move public headers to include/firebird with wrappers in include for legacy files. 2024-09-29 15:29:04 -03:00
Dmitry Yemanov
5df7d8f197
Introduce ODS 14 for v6 (#8208)
* Introduce ODS 14 for v6

* Builds/docs changes for ODS14
2024-08-08 10:59:44 +03:00
Adriano dos Santos Fernandes
9926ab88b4 Reimplement system triggers in C++/GDML code. 2024-08-03 15:38:33 -03:00
Adriano dos Santos Fernandes
43e4088685
Fix #8187 - Performance regression in generating of UUID values after introducing GUID-v7 (#8188)
Replacing deprecated win32 crypto functions.
2024-08-01 07:40:42 -03:00
Adriano dos Santos Fernandes
fdac4b8152 Feature #7980 - Option for GEN_UUID to generate v7 UUID. 2024-06-23 08:23:25 -03:00
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
Dmitry Yemanov
1b4d390b0e Refactored outer joins into a separate class 2024-02-09 18:07:30 +03:00
Adriano dos Santos Fernandes
f3205ff81d
Feature SET AUTOTERM in ISQL. (#7868) 2023-11-23 08:48:39 -03:00
Adriano dos Santos Fernandes
c88d9ba35c Remove dependency of engine in isql project in Windows. 2023-09-29 19:01:35 -03:00
Adriano dos Santos Fernandes
4070fe8c0d Prepare ISQL to have unit tests. 2023-09-29 19:01:35 -03:00
Adriano dos Santos Fernandes
39b019574a
Feature #7675 - EXPLAIN statement and RDB$SQL package. (#7697)
* Feature #7675 - EXPLAIN statement and RDB$SQL package.

* Change ObjectsArray::back() to match STL semantics and add front() method.

* Fix indentation problem.

* Add OBJECT_TYPE column.

* Add CARDINALITY column.

* Add conversion from bid to ISC_QUAD.

* Replace fb_assert by static_assert.

* Change ACCESS_PATH output parameter to blob.

* Improve docs.
2023-09-18 21:52:20 -03:00
Adriano dos Santos Fernandes
f8ed006057 Ressurect TriState, replace Nullable<bool> by TriState, remove Nullable. 2023-09-18 20:38:33 -03:00
Adriano dos Santos Fernandes
2de7e723f5
Fix problem with client-only build requiring btyacc's generated files present (#7445)
This also fixes annoying problem of incorrect dependencies build of parser.y with parallel make.
2023-09-15 22:27:52 -03:00
Vlad Khorsun
b2eb581b2f Per-attachment cache of often used BDB's 2023-09-01 11:15:04 +03:00
Vlad Khorsun
b5bdc13eb2 Move some compiler options into property sheet.
All checks were successful
continuous-integration/drone/push Build is passing
Change InlineFunctionExpansion to AnySuitable (was OnlyExplicitInline).
2023-06-19 11:55:22 +03:00
Vlad Khorsun
57bc21288a Change Platform Toolset from v141_xp to v141 for Win32 builds by VS 2017.
It doesn't compiles after recent changes, and we anyway use VS 2022 as official compiler and VS have no support for WinXP anymore.
2023-06-19 11:22:22 +03:00
Adriano dos Santos Fernandes
68922442fc Add CompressorTest to Windows build. 2023-04-18 06:49:40 -03:00
689d3f16eb Generate new upgrade codes for the vc runtime msi 2023-01-19 12:59:47 +01:00
Adriano dos Santos Fernandes
73c1ab807a
RDB$BLOB_UTIL system package. (#281)
* RDB$BLOB_UTIL system package.

* Do not checkout from engine when calling system packages.

* Remove usage of Attachment::SyncGuard in RDB$BLOB_UTIL.

* Fix Windows build.

* Fix RDB$BLOB_UTIL.SEEK.

* Fix crash.

* Rework changing routines and names for better fit after creation of BLOB_APPEND.

* Add RDB$BLOB_UTIL.IS_WRITABLE function.

* Misc.

* Fix documentation.

* Re-add and use RDB$BLOB_UTIL_HANDLE domain.

* Rename domain RDB$LONG_NUMBER to RDB$INTEGER.
2022-12-16 06:53:47 -03:00
Adriano dos Santos Fernandes
b117239f3d Windows build support for CLIENT_ONLY. 2022-11-27 11:24:57 -03:00
Adriano dos Santos Fernandes
a791ccd02e Replace src/yvalve/array.epp by array.cpp. 2022-11-27 11:18:34 -03:00
Adriano dos Santos Fernandes
91f2eecd10 Replace src/yvalve/blob.epp by blob.cpp. 2022-11-27 11:18:34 -03:00
Vlad Khorsun
57218a90a7
Merge pull request #7339 from hvlad/PageCache/HashTable_PR
Hash table based on lock-free list for page cache.
2022-11-22 00:00:21 +02:00
Vlad Khorsun
9bfeb842ad Use correct Windows SDK version 2022-11-15 13:00:43 +02:00
Vlad Khorsun
82ba27fd5d Hash table based on lock-free list (implemented in libcds). 2022-10-08 20:54:55 +03:00
Vlad Khorsun
e9227aa31c Revert build destination to the temp\...\firebird folder.
make_boot now copies .conf and security.db files into temp\...\firebird, if it not exists there before.
yachts.lnk and security.fdb now symlinks, not a copy of metadata.fdb and securityXXX.fdb.
2022-09-04 18:30:30 +03:00
Adriano dos Santos Fernandes
b4c4cd1acf Fix output directory of profiler plugin in Windows build. 2022-08-24 07:48:57 -03:00
Vlad Khorsun
5bfb721680 Don't generate browse info by MSVC build. It saves 15-20% of build time on Windows. 2022-08-14 12:43:18 +03:00
Vlad Khorsun
68a2f201f2 Moved ttmathuint_x86_64_msvc.obj from common (%FB_TEMP_DIR%\..\%FB_OBJ_DIR%\common) into dedicated folder (%FB_ROOT_PATH%\extern\ttmath\%FB_CONFIG%).
It allows to not call make_boot after cleaning up of "common" project.
2022-08-14 12:25:17 +03:00
Adriano dos Santos Fernandes
bffb43da9f Change OutDir configuration for default_profiler project. 2022-08-12 08:08:43 -03:00
Adriano dos Santos Fernandes
d4bd604b05 Separate debug/release output in different directories. 2022-08-12 08:04:50 -03:00
Adriano dos Santos Fernandes
a7b7955503 Improve Windows build process making it generating public files directly in the output directory. 2022-08-12 08:04:49 -03:00
Adriano dos Santos Fernandes
581795ed78 Merge branch 'work/profiler-plugin' into work/profiler-plugin-merge 2022-08-10 22:26:38 -03:00
Adriano dos Santos Fernandes
30ff90bac1 Reference gds.cpp in src/yvalve. 2022-08-01 22:50:55 -03:00
Adriano dos Santos Fernandes
28058cf464 Revert "Move gds.cpp to common."
This reverts commit f296f44ef6.
2022-07-21 08:17:02 -03:00
Adriano dos Santos Fernandes
f93852af9b Revert "Move gds_proto.h to common."
This reverts commit 8740a38802.
2022-07-21 08:16:50 -03:00
Adriano dos Santos Fernandes
ecbbc9afb5 Put tests in Firebird.sln. 2022-07-18 08:16:16 -03:00
Adriano dos Santos Fernandes
ef361bc842 Separate projects in groups in Firebird.sln. 2022-07-18 08:16:16 -03:00
Adriano dos Santos Fernandes
cf63ea5228 Add tests for jrd/RecordNumber. 2022-07-18 08:16:16 -03:00
Adriano dos Santos Fernandes
76dbad5002 Add test framework in engine library. 2022-07-18 08:16:16 -03:00
Adriano dos Santos Fernandes
b4ba747d1e Add tests for common/classes/DoublyLinkedList. 2022-07-18 08:16:16 -03:00
Adriano dos Santos Fernandes
5e13cb6e1e Add tests for common/classes/Array. 2022-07-18 08:16:16 -03:00
Adriano dos Santos Fernandes
2139d4a5ac Add tests for common/classes/Aligner. 2022-07-18 08:16:16 -03:00
Adriano dos Santos Fernandes
bb5a1e0149 Add test framework in common library. 2022-07-18 08:16:15 -03:00
Adriano dos Santos Fernandes
8740a38802 Move gds_proto.h to common. 2022-07-18 08:16:12 -03:00
Adriano dos Santos Fernandes
f296f44ef6 Move gds.cpp to common. 2022-07-18 08:16:11 -03:00
Vlad Khorsun
6325174cfc
Merge pull request #7212 from FirebirdSQL/work/parallel_v5
Work/parallel v5
2022-06-21 11:46:49 +03:00