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

1146 Commits

Author SHA1 Message Date
hvlad
3b43bc905f Sub-task CORE-4463: Windows implementation for CORE-4462 (Make it possible to restore compressed .nbk files without explicitly decompressing them) 2019-12-07 19:47:25 +02:00
8a8d7787d0 CORE-5538 implementation (#229)
* CORE-5538 implementation
2019-10-31 12:59:37 +03:00
Alex Peshkoff
80245dd81d Fixed CORE-6163: Generator pages are not encrypted 2019-10-19 14:48:46 +02:00
Adriano dos Santos Fernandes
51ee150915
CORE-6145 - Fix Windows build. 2019-09-19 13:35:33 -03:00
Adriano dos Santos Fernandes
6add872a1a Complement fix for CORE-6145 - Wrong result in "similar to" with non latin characters. 2019-09-19 13:04:52 -03:00
Alexander Peshkov
861d536fc2
Int128 - new datatype (#220)
* Int128 support - work in progress

* Work in progress

* Int128 datatype appears to be mostly OK except sort & index

* Fixed divide scaling, added sorting & network (xdr) support

* Binding control, aggregate nodes, cleanup and documentation

* Fixed VS2017 AppVeyor build

* Next attempt to fix vs2017 build

* Next attempt to fix vs2017 build

* Next attempt to fix vs2017 build

* Update MSVC build.

* Set VS architecture correctly

* Fixed a number of issues noticed by Mark
2019-09-16 20:59:54 +03:00
Adriano dos Santos Fernandes
09474b099a Support for NONE/OCTETS. 2019-09-01 21:01:38 -03:00
Adriano dos Santos Fernandes
28e18749ff WIP: Reimplementation of SIMILAR TO and SUBSTRING...SIMILAR using Google's re2 library.
This should fix:
CORE-4874
CORE-5664
CORE-3858
CORE-6088
CORE-3773
CORE-5931
CORE-6088
CORE-4893
2019-08-10 22:39:19 -03:00
hvlad
54221b3801 Improve diagnostics of internal trace errors (see CORE-3413 and CORE-6075) 2019-06-26 16:00:43 +03:00
Adriano dos Santos Fernandes
45d5e3aa7a
Refactor public include files (#205)
Refactor include files.
2019-06-03 11:45:00 -03:00
AlexPeshkoff
5fbf07ee1a Fixed CORE-6045: Segmentation fault in fbtracemgr when closing it using ctrl-C 2019-04-10 14:53:14 +03:00
hvlad
d8ad276aef Fixed bug CORE-5995 : Creator user name is empty in user trace sessions 2019-01-31 00:00:55 +02:00
hvlad
5b8e562c80 Fixed bug CORE-5993 : When creation of audit log file fails, there is no error message in firebird.log 2019-01-28 11:01:14 +02:00
hvlad
15e6315342 Fixed bug CORE-5991 : Trace could not work correctly with quoted file names in trace configurations 2019-01-28 11:00:18 +02:00
Dmitry Yemanov
932ca51574
Replication support (#182)
* Initial implementation of replication

* Postfixes for configuration and Windows builds

* Misc Windows adjustments

* Forgotten changes from prior commits

* Last round (fingers crossed) of fixing the Windows build

* Improve self-documentation

* Misc improvements

* Updates the docs

* More configuration

* Frontported some remaining pieces

* Installation post-fixes

* Special permission for replication
2019-01-25 12:09:01 +03:00
AlexPeshkoff
3239c9a58c Postfix for CORE-5907 2018-09-24 16:50:23 +03:00
Alex Peshkoff
9f3fa49fe3 Applied modified patch from Damyan fixing piped decompression 2018-09-05 18:03:32 +03:00
hvlad
558ffd541a Let trace plugin know about read consistency transactions 2018-08-08 09:48:59 +03:00
Adriano dos Santos Fernandes
a3e24613e8 Misc. 2018-08-05 22:39:28 -03:00
hvlad
3e057e10ca Merge branch 'master' into read_consistency 2018-05-27 17:32:54 +03:00
AlexPeshkoff
7f3bfe7cf1 Fixed CORE-5831: Not user friendly output of gstat at encrypted database 2018-05-23 18:26:36 +03:00
Alexander Peshkov
aa6cb5d05f
Initial implementation for CORE-5808 (#160)
* Implemented CORE-5808
2018-05-23 17:16:04 +03:00
AlexPeshkoff
fe04d32a49 Related to CORE-5830 and auto pointers changes, suggested by Vlad 2018-05-22 19:34:34 +03:00
AlexPeshkoff
42d8dc1317 Fix for CORE-5830: Encryption Interface crashing Firebird process when working on big db file (6.7GB) 2018-05-22 17:32:16 +03:00
AlexPeshkoff
ee40ef85ea Fixed CORE-5829: gsec does not release user manager plugin 2018-05-17 17:34:53 +03:00
AlexPeshkoff
9346d75bb9 Fixed CORE-5796: gstat may produce faulty report about presence of some none-encrypted pages in database 2018-04-18 19:50:12 +03:00
AlexPeshkoff
affb39894b Fixed CORE-5791: ODS for windows builds and linux-x64 (on the one side) and linux-x86 (on the other side) does not match 2018-04-11 20:17:45 +03:00
Adriano dos Santos Fernandes
7f044bccf9 Misc. 2018-04-05 12:41:40 -03:00
Artyom Smirnov
d63ac10b21 If guard starts in daemon mode then close all fds to properly daemonize (#152)
Also in server detect if stdout/stderr fds were closed by guard and reopen
with redirecting to file or /dev/null
2018-03-28 18:57:23 +03:00
Artyom Smirnov
21b42b2e8f Allow to redirect server's stdout and stderr to file (#143)
Before these changes guardian and server binary closed
stdin/stdout/stderr/... and server can reuse those
descriptors when opening files or using shmem for
example. So some stray stdout can introduce
unwanted data or even crash server. Server do not
emit any stdout/stderr in release build but
UDRs or external libraries can print to stdout.

After these changes stdout/stderr will be kept opened
and user have options to redirect it to /dev/null (by default)
or other file by choise or just allow server to print.

New config option OutputRedirectionFile was introduced to
allow user control server behavior.
2018-03-21 14:47:20 +03:00
hvlad
fdecfd1319 Merge branch 'master' into read_consistency 2018-02-20 13:50:04 +02:00
Alexander Peshkov
a6d57fc4d8
Gbak (#139)
* Rewritten gbak using OO API
* Make gbak correctly work with wide records (if record format to be made > 64K)
* Improve gbak performance over network using batch interface
* Enhanced template AutoPtr to make use of it more comfortable
2018-02-19 13:38:28 +03:00
Paul Reeves
cf7fd05070 Correct spelling of env var is FIREBIRD_LOCK. 2018-02-06 11:45:45 +01:00
AlexPeshkoff
a372f319f6 Fixed CORE-5700: DECFLOAT underflow should yield zero instead of an error 2018-02-02 21:56:43 +03:00
Adriano dos Santos Fernandes
3843328e57 Fixed CORE-5706 - Trace config with misplaced "{" lead firebird to crash. 2018-01-13 13:23:37 -02:00
hvlad
ccbf5c724a Merge branch 'master' into read_consistency 2017-12-29 10:55:31 +02:00
244e4be522 Correctness for CORE-5629 2017-11-14 14:13:31 +03:00
4eac3228fa Fixed CORE-5629: gstat output does not include datetime of analysis 2017-11-14 14:05:34 +03:00
044edb7068 Changed a lot of isc_random messages to new gds codes 2017-11-10 20:13:05 +03:00
6198bc8ee1 High precision datatype support - Numeric(34,x) (#108)
* Raise underflow when close to 0 decfloat value casted to double
* High precision NUMERIC datatype based on DECFLOAT
* Fixed bulk insert mode in isql for decfloat values
* Enforce correct decQuad format after arithmetic operations
* Minimum docs for high precision NUMERIC/DECIMAL

* Some fixes of code suggested by Adriano:
- Use "const" keyword for Decimal128 constants declared internally
- Remove unneeded buffer initialization
- Remove unused function makeDecimalFixed()
- Follow firebird naming conventions to make code better readable and avoid possible conflicts with various .h files
- Added forgotten scale for DecimalFixed
2017-10-03 17:06:08 +03:00
Adriano dos Santos Fernandes
d9ecea01f1 Misc. 2017-08-26 18:57:41 -03:00
hvlad
eae0a1d62f Merge branch 'master' into read_consistency 2017-08-08 12:16:18 +03:00
Ilya Eremin
ee9085ac39 Excess conversion of sql statement to UTF8 is removed from fbtrace (#103) 2017-07-25 12:35:39 +03:00
Ilya Eremin
b17a729ab2 Conversion of statements, procedures and functions parameters (CHAR and VARCHAR) to UTF8 in trace log (#95) (#100)
* Conversion of statements, procedures and functions parameters (CHAR and VARCHAR) to UTF8 in trace log

* cloop interface version check is added for getTextUTF8 function
2017-07-20 17:03:34 +03:00
hvlad
bdc7bd8d3e Merge branch 'master' into read_consistency 2017-07-10 23:54:42 +03:00
Adriano dos Santos Fernandes
072ff67c76 Misc. 2017-06-18 22:49:33 -03:00
hvlad
ae1138d195 Comment 2017-06-13 18:52:37 +03:00
hvlad
ccf5ce2429 Improvement CORE-4913 : Database backup using Nbackup is getting slow when directed to NAS over SMB protocol 2017-06-13 17:36:06 +03:00
hvlad
157127a512 Support for "read committed read consistency" mode in trace API 2017-04-12 18:43:37 +03:00
hvlad
2a2a991fe0 Merge branch 'master' into read_consistency 2017-04-03 12:01:56 +03:00
f995ed4408 Merges changes from master 2017-04-02 19:12:18 +03:00
8e865303b0 Fixed CORE-5501: Unclear gstat's diagnostic when damaged page in DB file appears encrypted 2017-03-10 17:08:14 +03:00
Adriano dos Santos Fernandes
6b06320fdc Misc. 2017-03-09 00:49:23 -03:00
028248b194 Merged changes from master branch 2017-02-16 17:56:23 +03:00
hvlad
21c2c1e740 Fixed VC10 build 2017-02-06 23:38:53 +02:00
hvlad
29942f8d86 Misc 2017-02-05 16:40:09 +02:00
hvlad
a98d089a28 Fixed bug CORE-5470 : Trace INCLUDE_FILTER with [[:WHITESPACE:]]+ does not work when statement contains newline is issued 2017-02-05 11:47:16 +02:00
hvlad
800baa6f44 Improvements
CORE-5475 : Provide ability to filter out info and warnings from trace log, and
CORE-4486 : Trace: provide filter to INCLUDE / EXCLUDE errors by their mnemonical names
Also, fix text alignment issue in detailed per-table perf stats
2017-02-05 11:40:49 +02:00
hvlad
e3b24b1734 Fixed bug CORE-5477 : Trace duplicates asci_char(13) in its output (Windows only) 2017-02-04 01:20:12 +02:00
hvlad
aff780ca94 Merge branch 'master' into read_consistency 2017-01-31 23:59:31 +02:00
4da3997b49 Fixed CORE-5472: Problems with dbcrypt key transfer 2017-01-31 17:38:53 +03:00
d88c5ac3cb Fixed CORE-5452: Segfault when engine's dynamic library is unloaded right after closing worker threads (GC and/or cache writer) 2017-01-13 14:29:27 +03:00
5aede150e3 Decimal floating point numbers - first draft 2016-11-11 17:59:55 +03:00
01b521bd53 Fixed CORE-5379: Regression service API for isc_spb_sts_table 2016-10-17 19:16:29 +03:00
9d8b20a77e Fixed CORE-5269: FBTRACEMGR should understand "role <name>" command switch (needed to explicitly connect with role with "TRACE_ANY_ATTACHMENT" privilege) 2016-08-03 16:35:38 +03:00
Adriano dos Santos Fernandes
8962c089bb Misc. 2016-07-10 22:51:02 -03:00
1c920ac578 Fixed CORE-5278: A number of SPB parameters fail in FB 3 & 4 2016-06-15 19:16:29 +03:00
Adriano dos Santos Fernandes
e69a823efa Improvement CORE-749 - Increase maximum length of object names to 64 characters. 2016-06-10 16:41:22 +00:00
7ad99b795e Added support for system privileges 2016-05-31 20:07:08 +03:00
Dmitry Starodubov
6347882209 Simplified passing variables to sub-make. Move functions from "fb_io" namespace to "os_utils" (#30) 2016-05-30 17:50:02 +03:00
Dmitry Starodubov
c3722be6de Added LSB compliance (#28) 2016-05-25 15:14:01 +03:00
hvlad
8f311f3c27 Merge branch 'master' into read_consistency
# Conflicts:
#	src/include/fb_types.h
#	src/jrd/Database.cpp
#	src/jrd/tpc.cpp
#	src/jrd/tra.cpp
#	src/jrd/vio_proto.h
2016-05-21 21:17:31 +03:00
Dmitry Yemanov
170656443c Postfixes for CORE-2192, thanks to Pavel Zotov. 2016-05-10 10:44:30 +03:00
Dmitry Yemanov
7e0c287412 Bugfix CORE-5224: Transaction id tags for services API do not support
new 48 bit transaction ids.
2016-05-02 09:28:25 +03:00
2a1725ec6e Postfix for CORE-5189: use unsigned operation code in User interface 2016-04-10 21:06:02 +03:00
21fb5d8ef2 typo in comment 2016-04-07 16:20:16 +03:00
c8698ce81f Fixed CORE-5189: Codes of operation of user management plugin are missing in public API 2016-04-07 16:15:29 +03:00
Roman Simakov
5021c37285 Merge 2016-04-01 17:52:13 +03:00
Adriano dos Santos Fernandes
cf1a65dece Misc. 2016-03-27 23:36:37 -03:00
hvlad
cbf6dea3ee Functions to read\write attachment id from\to header page 2016-03-27 14:54:22 +03:00
Adriano dos Santos Fernandes
de9e70ec4e Misc. 2016-03-27 00:11:43 -03:00
hvlad
50c23d16ed Let nbackup skip another tags on header page and limit search by page boundaries 2016-03-22 20:11:17 +02:00
hvlad
bbdf84a295 Full name for INPLACE option 2016-03-22 10:47:40 +02:00
hvlad
fa0bae17e2 Applied initial patch from red-soft 2016-03-22 10:35:55 +02:00
hvlad
9ae426a757 Please MSVC14:
-add space before XXXFORMAT macros to not confuse it with user-defined literals

-use existing snprintf

This should fix part of the issues at CORE-5099 and CORE-5120
2016-03-17 12:33:26 +02:00
alexpeshkoff
bebf1d5a70 Implemented CORE-5100: Improve control over database crypt keys 2016-02-03 13:20:41 +00:00
hvlad
714e6c2eaf Remove LCK_idx_reserve introduced with 64-bit transaction ID.
Restore original logic in BTR_next_index (wait for tx lock when index build is in progress). 
Use irt_repeat::irt_root to store high 32 bit of tra_num. 
It also fixed deadlock related with LCK_idx_reserve lock (reported privately).
2016-01-27 11:11:38 +00:00
asfernandes
313bff3a8f Misc. 2015-11-20 00:33:06 +00:00
alexpeshkoff
3434d0aeee Fixed CORE-4969: SEC$USERS table is unavailable in case of any error in any configured user manager plugin 2015-11-06 17:10:27 +00:00
hvlad
a6c1a84ab3 Improved reaction on Ctrl+C\Ctrl+Break\console close request in Trace Manager and Services Manager console utilities on Windows. 2015-11-03 11:01:57 +00:00
hvlad
fe072b8ada Correction 2015-11-03 09:36:05 +00:00
alexpeshkoff
6cf40dfde7 Do not type "invalid service handle" error message after pressing ctrl-C (as Vlad requested) 2015-10-26 16:55:37 +00:00
dimitr
769265ee1c Misc. 2015-10-26 10:28:44 +00:00
dimitr
f761965078 Fixed gstat output. 2015-10-26 10:17:46 +00:00
hvlad
c8077a3d29 Fixed bug CORE-4968 : fbtrace.conf in FB30-HOME: missing equality sign ('=') between parameter "log_errors" and its default values ("false") 2015-10-25 13:54:39 +00:00
dimitr
d395f35235 Misc. 2015-10-20 13:07:53 +00:00
dimitr
4e4d8002e5 CORE-4965: Extend the transaction ID space beyond 2^32 transactions. Initially developed in the v2.5 custom branch, then reworked and now merged into v3.0. 2015-10-19 13:32:02 +00:00
dimitr
759dd1212a This should fix the Windows build. 2015-10-15 07:29:41 +00:00
hvlad
a564cddac7 Corrections 2015-10-13 09:44:44 +00:00
asfernandes
9fbee6b719 Misc. 2015-10-13 02:22:57 +00:00