8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 20:03:02 +01:00
Commit Graph

2853 Commits

Author SHA1 Message Date
Adriano dos Santos Fernandes
e77b55450b Fix #8172 - The file include/firebird/impl/iberror_c.h is missing in the Linux x64 tar archive. 2024-07-08 22:05:59 -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
3c093f0b33 Fix #7911 - allow spaces in service name
when (un)installing via (un)install_service.bat
2024-06-21 13:27:35 +02:00
08997a65d4 Replace tabs with spaces 2024-06-21 12:06:26 +02:00
dccbd66202 Improve detection of existing configured security database 2024-06-21 11:42:07 +02:00
4449d55c73 Improve installed product detection (WIP) 2024-06-21 11:40:46 +02:00
8b6720d940 Dynamically set FB_MAJOR_VER 2024-06-21 11:38:36 +02:00
7d975f330b Add option to package without release notes 2024-06-21 11:36:55 +02:00
53464415df Remove obsolete debug code 2024-06-21 11:35:48 +02:00
94dc97d7d7 cleanup 2024-06-21 11:35:27 +02:00
55614892cb White space; spelling; misc 2024-06-21 11:35:05 +02:00
8de93af965 Use @ consistently to produce cleaner output
and make debugging easier if case of problems
2024-06-21 11:33:07 +02: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
AlexPeshkoff
04bec4d014 Fixed #8037: remove directory entries from debug symbols tarball 2024-04-24 20:31:40 +03:00
AlexPeshkoff
1786e3665b Fixed #8034: set owner/group in tarball of non-root builds 2024-04-24 20:12:16 +03:00
Adriano dos Santos Fernandes
426cb08b59 Upgrade glibc to 2.28 and arm64 binutils to 2.40. 2024-04-19 08:04:57 -03:00
Adriano dos Santos Fernandes
7c1691bbeb Switch Linux docker build from ubuntu to debian. 2024-04-18 22:04:22 -03:00
Adriano dos Santos Fernandes
fc362ecb46 Update Linux build to use gcc 13.2 and binutils 2.40.
Binutils update except for arm64.
2024-04-18 22:01:53 -03:00
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
Dmitry Yemanov
1b4d390b0e Refactored outer joins into a separate class 2024-02-09 18:07:30 +03:00
Vlad Khorsun
fe82a29d13
Remove FileSystemCacheSize setting (#7984) 2024-01-29 22:23:26 +02:00
Vlad Khorsun
55fd220006
Remove FileSystemCacheThreshold setting (#7983) 2024-01-29 22:15:53 +02:00
Dmitry Yemanov
4cd3b0e47a
Cleanup RelaxedAliasChecking configuration setting (#7982) 2024-01-29 18:05:05 +03:00
Tommi Prami
854d7fb849
Minor typo fixed (#7959) 2024-01-29 17:18:57 +03:00
cacb2c77d4 #7926 Do not touch files during packaging 2023-12-19 11:42:39 +01:00
5933ce8ca2 white space 2023-12-14 11:56:24 +01:00
Adriano dos Santos Fernandes
ccdc281dc5 Task #7900 - Remove compatibility options MaxIdentifierByteLength and MaxIdentifierCharLength. 2023-12-02 15:00:58 -03:00
Vlad Khorsun
e98e1dc11b Task #7897 : Remove obsolete setting ClearGTTAtRetaining 2023-12-01 15:59:49 +02:00
Adriano dos Santos Fernandes
f3205ff81d
Feature SET AUTOTERM in ISQL. (#7868) 2023-11-23 08:48:39 -03:00
Adriano dos Santos Fernandes
4facd1b200 Fix docker/windows CI. 2023-11-22 23:04:52 -03:00
Adriano dos Santos Fernandes
518292ed74 Remove -flat_namespace from MacOS build - see #7827. 2023-11-15 10:48:32 -03:00
Adriano dos Santos Fernandes
37f9809338 Fix #7827 - Problem using python firebird-driver with either intel or m1 Mac buiilds. 2023-11-15 10:48:25 -03:00
Adriano dos Santos Fernandes
c2328fe14c Task #7796 - Update official Windows compiler to VS 17.7.4. 2023-10-11 06:39:58 -03:00
Adriano dos Santos Fernandes
ec4f175e30 Revert "Update VS docker build to 17.7.4"
This reverts commit e74cf8a579.
2023-10-11 06:37:32 -03:00
AlexPeshkoff
7870a3b513 Fixed minor "make clean" bug 2023-10-11 09:05:32 +03:00
Vlad Khorsun
e74cf8a579 Update VS docker build to 17.7.4
While there is a channel with "most current" version, I have no idea how to set --version value to use it.
2023-10-10 18:42:57 +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
83440fe70c Fix Windows installer automation requiring non-installed files. 2023-09-27 21:59:59 -03:00
Adriano dos Santos Fernandes
9d6bd05f25 Fix Windows installer automation. 2023-09-27 20:23:20 -03:00
3f12caa082 Fix #7766 - Test if ServerComponent was chosen, not ServerInstall 2023-09-27 20:28:30 +02:00
837cf80a79 Parse FB_BUILD_SUFFIX to extract release type during packaging.
This removes the need to set the string via an env var prior to building
2023-09-25 16:49:51 +02:00
Adriano dos Santos Fernandes
48e7bb2607 Fix MacOS package name. 2023-09-22 20:41:12 -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
8693554daf Fix MacOS build. 2023-09-18 20:20:38 -03:00
Dmitry Yemanov
875f0a25a3 New release version in scripts 2023-09-17 18:29:37 +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
Dmitry Yemanov
f239ca161f
Surface internal optimization modes (all rows vs first rows) at the SQL and configuration levels (#7405)
* Surface internal optimization modes (all rows vs first rows) at the SQL and configuration levels.
* Add session-level control over the optimization strategy
* More informative name as suggested by Adriano
* Cost-based approach for the first-rows optimization mode
2023-09-13 21:21:12 +03:00
AlexPeshkoff
c5df777d12 Misc 2023-09-07 19:40:31 +03:00