8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 20:43:04 +01:00
Commit Graph

53167 Commits

Author SHA1 Message Date
firebirds
de9264cf65 increment build number 2020-01-04 00:05:33 +00:00
Paul Reeves
f90f322d99 CORE-3900 (Partial fix) Add /norestart flag when installing msvc runtimes.
This at least prevents an unplanned reboot. A full fix will require calling msiexec differently so that we can pick up the errorcode if a reboot actually is required.
2020-01-03 13:49:27 +01:00
firebirds
c511f35f16 increment build number 2020-01-02 00:05:39 +00:00
Dmitry Yemanov
d9a01b9025 Correction 2020-01-01 16:12:40 +03:00
Dmitry Yemanov
43b7ac3c6f Correction 2020-01-01 09:49:43 +03:00
firebirds
28457cf492 increment build number 2019-12-23 00:05:43 +00:00
Dmitry Yemanov
4ddc81f86b This should fix regression for test core_0053.fbt 2019-12-22 11:34:52 +03:00
firebirds
85f1788d95 increment build number 2019-12-21 00:06:01 +00:00
Dmitry Yemanov
160ec3901b Fixed dumb mistake in my recent commit 2019-12-20 12:39:17 +03:00
Dmitry Yemanov
f7e7c513a1 Minor correction for Vlad's solution to CORE-4680 2019-12-20 12:39:17 +03:00
firebirds
c785afe4c4 increment build number 2019-12-17 00:06:11 +00:00
Dmitry Yemanov
b6a62c0b16 Prepared the docs 2019-12-16 18:54:40 +03:00
Dmitry Yemanov
2294d6573d Fixed races during shmem reattaching 2019-12-16 18:50:59 +03:00
Dmitry Yemanov
6c262aa30a Reworked my recent optimizer patch 2019-12-16 18:50:59 +03:00
firebirds
2a7fc5f5b0 increment build number 2019-12-14 00:05:43 +00:00
Dmitry Yemanov
92e2f4d66a Attempted to fix the optimizer regression related to sorting vs compound indices 2019-12-13 10:29:57 +03:00
Dmitry Yemanov
6cae06628c Cast the parameters to match the API declaration. This removes warnings in the generated code. 2019-12-13 10:29:57 +03:00
Dmitry Yemanov
d0353a8972 Fixed inconsistency between attachment/transaction states and their request states 2019-12-13 10:29:57 +03:00
firebirds
f62c4f5e5f increment build number 2019-12-12 00:06:28 +00:00
hvlad
97131a52d7 Fixed bug CORE-6204 : FB crash because TraceSvcJrd::checkPrivileges can pass NULL in 'alias' 2019-12-11 20:56:19 +02:00
firebirds
cc614c3a91 increment build number 2019-12-11 00:09:02 +00:00
AlexPeshkoff
5cc9880778 Backported CORE-6141: fbsvcmgr action_repair rpr_list_limbo_trans does not show list of transactions in LIMBO state 2019-12-10 19:42:17 +03:00
firebirds
5bbc7d2ad3 increment build number 2019-12-10 00:07:14 +00:00
hvlad
89243337e6 Let logAndDie() call abort() on all platforms.
It prevent hung when process exits (instead of aborts) and tries to release resources.
2019-12-09 13:59:29 +02:00
firebirds
e157266d52 increment build number 2019-12-08 00:05:56 +00:00
hvlad
d678801a85 Backport addition for CORE-4463:
Avoid handle leak after killing hung child process.
Print child's stderr after child is gone to not loose very last childs output.
2019-12-07 20:04:04 +02:00
firebirds
a0774ed7a3 increment build number 2019-12-07 00:05:28 +00:00
AlexPeshkoff
176ab0e64f Backported CORE-6203: "Error reading data from the connection" is raised sometimes when using non-default authentication plugin 2019-12-06 18:26:35 +03:00
Vlad Khorsun
f165f6f996
Merge pull request #239 from FirebirdSQL/work/core-4463
Sub-task CORE-4463: Windows implementation for CORE-4462 (Make it pos…
2019-12-06 12:58:20 +02:00
hvlad
ec0d1432eb Better name for print_child_error() method 2019-12-06 11:49:27 +02:00
Andrey Kravchenko
fc67e18131 Fix deleted memory use in optimizer (#242)
In function gen_retrieval (jrd/opt.cpp) created OptimizerRetrieval and
call getInversion, where created InversionCandidateList and after
analyzeNavigation variable navigationCandidate linked to item of list.
After clean up the list in function gen_retrieval call getNavigation
where using variable navigationCandidate.
2019-12-06 10:18:42 +03:00
hvlad
c2cfa78241 Prevent child process hung if it writes too much data to the pipe and overflow the pipe buffer.
Preserve child eol's when print child stderr data.
Try to distinguish case when child's stdout closed abnormally.
2019-12-05 12:34:35 +02:00
firebirds
b85a307334 increment build number 2019-12-04 00:05:25 +00:00
Adriano dos Santos Fernandes
5791d8fa17
Merge pull request #238 from FirebirdSQL/work/v3-github-actions
Add Travis MacOS build, GitHub Actions MacOS/Windows build and adjust MacOS build to be (almost) relocatable.

While MacOS people seems to be ok with fixed locations for applications and libraries, this complicates a lot the (post)
build process, needing to change each id and rpaths in a very error prone process.

Relocatable binaries makes this a lot easier, but unfortunately "restricted" (chmod +s, like firebird executable)
programs cannot use @loader_path or @executable_path in its rpath.

So the solution has to make internal libraries relocatable and make rpath of firebird fixed. Also, as the ecosystem
seems to use fixed path, the id of fbclient.dylib has set to its fixed path.

Also MacOS post build makefile has adjusted to allow creation of packages for the debug build.

The MacOS build could still be improved with some scripts to build ICU (instead of done directly in the CI scripts,
but I leave that for now) and copies its files to our lib path. However situation seems to be better than before in
relation to ICU and TomMath.

Note: Linux build is not working in GitHub Actions. It segfaults when running (exiting) utilities.
I had this problem lot's of time in the past, maybe it's not completely fixed in v3.
2019-12-03 13:11:05 -03:00
Adriano dos Santos Fernandes
a45c48d29f Correction. 2019-12-03 10:32:41 -03:00
hvlad
f219283b72 Sub-task CORE-4463: Windows implementation for CORE-4462 (Make it possible to restore compressed .nbk files without explicitly decompressing them) 2019-12-02 13:03:58 +02:00
Adriano dos Santos Fernandes
cf19d25c82 Replace wget by curl as wget does not come pre-installed in MacOS. 2019-11-30 22:16:38 -03:00
Adriano dos Santos Fernandes
d147f99fd3 Remove verbose option from tar. 2019-11-30 22:09:31 -03:00
Adriano dos Santos Fernandes
6aaa523bd0 Cleanup about equiv file. 2019-11-30 21:53:24 -03:00
firebirds
e66ea16254 increment build number 2019-11-28 00:04:50 +00:00
Adriano dos Santos Fernandes
b1993a6dbc Improvement/correction in the GitHub Actions Windows build. 2019-11-27 13:29:49 -03:00
Roman Simakov
74f4810822 Backport of the fix from the master branch: Now CREATE FUNCTION/PROCEDURE inside CREATE PACKAGE does not require CREATE FUNCTION/PROCEDURE privilege
It's not really necessary since there are no packages in 3.0 but the
patch fixes TDBB_trusted_ddl flag reset. So let it be.
2019-11-27 17:50:20 +03:00
Adriano dos Santos Fernandes
3cf5aa4c66 Remove S-bit from firebird executable. 2019-11-27 11:11:26 -03:00
Adriano dos Santos Fernandes
fc1aead017 Remove duplicated MacOS file in wrong place. 2019-11-27 11:10:30 -03:00
firebirds
ba18366723 increment build number 2019-11-27 00:04:34 +00:00
Adriano dos Santos Fernandes
9ed0e28b09 Add Travis MacOS build, GitHub Actions MacOS/Windows build and adjust MacOS build to be (almost) relocatable.
While MacOS people seems to be ok with fixed locations for applications and libraries, this complicates a lot the (post)
build process, needing to change each id and rpaths in a very error prone process.

Relocatable binaries makes this a lot easier, but unfortunately "restricted" (chmod +s, like firebird executable)
programs cannot use @loader_path or @executable_path in its rpath.

So the solution has to make internal libraries relocatable and make rpath of firebird fixed. Also, as the ecosystem
seems to use fixed path, the id of fbclient.dylib has set to its fixed path.

Also MacOS post build makefile has adjusted to allow creation of packages for the debug build.

The MacOS build could still be improved with some scripts to build ICU (instead of done directly in the CI scripts,
but I leave that for now) and copies its files to our lib path. However situation seems to be better than before in
relation to ICU and TomMath.

Note: Linux build is not working in GitHub Actions. It segfaults when running (exiting) utilities.
I had this problem lot's of time in the past, maybe it's not completely fixed in v3.
2019-11-26 13:11:55 -03:00
Dmitry Starodubov
78510edbf2 Fixed CORE-6198: Wrong error checking for pread / pwrite calls 2019-11-26 15:21:19 +03:00
firebirds
973991d726 increment build number 2019-11-25 00:04:53 +00:00
Adriano dos Santos Fernandes
db635c9dcd Fix CORE-6197 - Memory leak in INET_connect(). 2019-11-24 20:25:21 -03:00
firebirds
64a1ba948e increment build number 2019-11-14 00:07:04 +00:00