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

1725 Commits

Author SHA1 Message Date
AlexPeshkoff
f75ff97b66 Fixed #7298: Info result parsing 2022-09-28 19:57:19 +03:00
AlexPeshkoff
bd66b2b648 Assertion condition was too strong 2022-09-13 19:35:23 +03:00
AlexPeshkoff
fecb76630d Correct diags 2022-09-09 09:46:42 +03:00
AlexPeshkoff
4eef295d5c This should fix windows build 2022-09-07 18:52:08 +03:00
AlexPeshkoff
77e711a68d Fixed #7296: During shutdown op_disconnect may be sent to invalid handle 2022-09-07 18:05:53 +03:00
AlexPeshkoff
c3be5edecb Fixed #7281: Concurrent NBackup crashes server on Linux
(cherry picked from commit c442eb63cf)
2022-09-02 17:22:48 +03:00
Vlad Khorsun
46bf89d84c Improvement #7259 : Remove TcpLoopbackFastPath and use of SIO_LOOPBACK_FAST_PATH 2022-08-22 01:44:08 +03:00
Vlad Khorsun
bc763f3b85 This should fix bug #7271 : Sporadic crash on 3.0.10.33106 2022-08-19 14:57:08 +03:00
Vlad Khorsun
1fc00b76c5 Fixed bug #7239 : Connect using XNET protocol shows different exception if DB is in shutdown state (comparing to INET) 2022-07-25 11:44:29 +03:00
Alexander Peshkov
95759d5b82
Fix for #7147: Problems with use of big timeout (or no timeout at all) in trace service (#7148) 2022-06-22 18:01:29 +03:00
Vlad Khorsun
fa90269460 Parallel backup, restore and sweep. 2022-05-31 20:29:36 +03:00
Dmitry Yemanov
4c8f31fc73 Merge remote-tracking branch 'origin/master' into cursor-info 2022-04-22 19:29:01 +03:00
Dmitry Yemanov
48f8bd4a9d This should fix #7150: Replication not restarting after network failure. Minor adjustments regarding replication startup errors 2022-03-10 06:29:07 +03:00
Vlad Khorsun
f7c3c2ccd7 Front ported fix for bug #7128 : Incorrect error message with isc_sql_interprete() 2022-02-18 15:31:43 +02:00
AlexPeshkoff
9475d9b9cf Fixed #7099: Incomplete op_batch_cs response with TAG_MULTIERROR 2022-01-25 18:21:55 +03:00
Dmitry Yemanov
42fca9a943 One more postfix after the WNET cleanup 2022-01-10 14:16:52 +03:00
Dmitry Yemanov
978c99a5ed This should fix broken port parsing in the Classic server command line 2022-01-07 19:21:12 +03:00
Adriano dos Santos Fernandes
2d2b2a195a Replace FB_FINAL by final. 2022-01-06 10:10:56 -03:00
Dmitry Yemanov
82da31ccfd
Remove the WNET protocol (#7082)
* Wiped out the WNET support

* Remove the WNET files
2022-01-05 10:34:07 +03:00
Adriano dos Santos Fernandes
9772a398af
Fix MacOS UDR and Legacy_UserManager plugins not working due to not exported entry point. (#7088)
Add FB_DLL_EXPORT to public headers.

Use default visibility also for Linux/Unix (in addition to MacOS) as
user application can also be compiled with -fvisibility=hidden.
2021-12-26 11:35:16 -03:00
Dmitry Yemanov
68a7e88572 Raise protocol version 2021-12-24 17:42:22 +03:00
AlexPeshkoff
66568b12d5 Fixed #7080: Executing batch crashes server
(cherry picked from commit 7776f552c2)
2021-12-22 19:55:59 +03:00
Dmitry Yemanov
94e1b8b7a3 Initial implementation of ResultSet::getInfo() 2021-12-21 13:06:06 +03:00
AlexPeshkoff
c7f10bf221 Postfix for #7065: Connection hangs after delivery of 256 Gb; reworked according to java requirements 2021-12-14 11:30:10 +03:00
AlexPeshkoff
0df93174c5 Fixed #7066: Server may send incorrect specific data to client when establishing encrypted connection 2021-12-14 11:29:37 +03:00
Dmitry Yemanov
6cfc9b5d7d Fixed the remaining issues with scrollable cursor re-positioning 2021-12-06 07:46:33 +03:00
Dmitry Yemanov
c884994653 Fixed (fingers crossed) inconsistent cursor repositioning 2021-11-30 16:51:05 +03:00
Dmitry Yemanov
3868cfe713 Misc 2021-11-29 15:40:20 +03:00
Dmitry Yemanov
f08bc1ea32 Remove the isc_req_sync emulation that is no longer necessary 2021-11-28 18:56:28 +03:00
Dmitry Yemanov
efbe58868e Clear the server-side queue before processing the different fetch opcode 2021-11-28 16:08:10 +03:00
Dmitry Yemanov
90129c6d3e Fixed isBof/isEof when the prefetch is active 2021-11-28 16:08:10 +03:00
Dmitry Yemanov
a8126a9811 Make the fetch position transferred unconditionally, as suggested by Mark 2021-11-27 12:02:15 +03:00
Dmitry Yemanov
ed4ecaaaf1 Misc 2021-11-26 11:58:36 +03:00
Dmitry Yemanov
67eb9d03d6 Check for scrollability locally (without a roundtrip) 2021-11-26 10:34:53 +03:00
Dmitry Yemanov
8956b6ab62 Implemented #7051: Network support for bi-directional cursors 2021-11-26 09:35:31 +03:00
AlexPeshkoff
b6658ade91 Cleanup: avoid deprecated entries in regular calls 2021-11-09 12:48:04 +03:00
Dmitry Yemanov
510b5d6598 Improve error reporting a little 2021-10-11 15:42:06 +03:00
Dmitry Yemanov
531419399a Postfix for #6989 (better protection from initialization errors) 2021-10-07 08:41:38 +03:00
Dmitry Yemanov
21307a7bf8 Fixed #6989: Invalid message in replication.log (and possibly crash in the case of synchronous replication) when the target DB has no its replica flag set 2021-10-05 13:21:53 +03:00
Vlad Khorsun
5abc6092c0 Fixed bug #6985: Application could hung when using new Batch API with blobs over XNET 2021-09-28 18:40:39 +03:00
Adriano dos Santos Fernandes
d3be1780b7 Cleanup: get rid of unused variables. 2021-09-16 11:19:27 -03:00
James Clarke
e259c6c0fd add AF_INET_* support for FreeBSD 2021-09-16 14:12:52 +03:00
Damyan Ivanov
9af919f561 small typo in error message (unsuccesful → unsuccessful) 2021-09-15 19:42:20 +03:00
AlexPeshkoff
b448ed8f6d Enhanced control on the size of available batch buffers when restoring database ensures never getting isc_batch_too_big error, related to #6959 2021-09-15 17:20:23 +03:00
Adriano dos Santos Fernandes
ee088c22e3
Rework messages processing, simplifying the build and avoiding store generated files in git. (#6958) 2021-09-15 08:37:17 -03:00
AlexPeshkoff
33caf198dd Implemented #6959: IBatch::getInfo() 2021-09-10 17:18:48 +03:00
Alex Peshkoff
18d59a5e79 Implemented #6954: fb_info_protocol_version support 2021-09-09 17:26:15 +03:00
AlexPeshkoff
8e155c2944 Postfix for #6886: renamed functions correctly 2021-09-03 14:34:00 +03:00
AlexPeshkoff
7ce63fac6b Fixed #6945: Segfault in batch interface when gbak restores DB with a lot of blobs over the wire 2021-09-02 18:02:46 +03:00
AlexPeshkoff
6a9d2aa3fa Postfix for #6886, thanks to Adriano for very useful comments and suggestions 2021-09-01 19:04:55 +03:00
AlexPeshkoff
de15522f32 Fixed #6886: Differerent interfaces behaviour depending upon source of interface 2021-08-16 20:57:55 +03:00
AlexPeshkoff
3ff54b7d77 Fixed #6900: IBatch add method fails silently when a memory limit is exceeded 2021-08-12 15:28:37 +03:00
Dmitry Yemanov
847dade8c8 Corrected the condition 2021-08-08 19:49:08 +03:00
AlexPeshkoff
dfc0b7e691 Fixed #6896: Client forcing server to encryption 2021-07-20 19:28:55 +03:00
AlexPeshkoff
ff3e12229c As suggested by Dimitry Sibiryakov 2021-07-07 14:14:33 +03:00
AlexPeshkoff
75cf546ae6 Cleanup - avoid further code misunderstanding 2021-07-07 11:54:09 +03:00
Dmitry Yemanov
517e0b149e Fixed #6853: Asynchronous replication leaks file handles 2021-06-12 10:37:00 +03:00
Dmitry Yemanov
07aa48b78b Fixed #6850: Database-level and DDL triggers are executed at the replica side 2021-06-08 20:58:28 +03:00
AlexPeshkoff
054431fce7 Implemented Batch::cancel() over the wire 2021-05-05 13:24:33 +03:00
Dmitry Yemanov
340bd02363 Renamed replication 'log' to 'journal' 2021-05-04 20:37:49 +03:00
hvlad
bce0eb60e3 Improvement GH-6748 : Freeing a statement using DSQL_drop or DSQL_unprepare should send free packet immediately [CORE6519] 2021-05-04 15:53:11 +03:00
AlexPeshkoff
d46b5182b2 Added dedicated method to close Batch interface with errors check 2021-05-04 14:20:32 +03:00
hvlad
38c2a6f2c7 Fixed XNET protocol after recent changes. 2021-04-07 08:42:21 +03:00
AlexPeshkoff
0917a071b0 Postfix for CORE-6525 according to Adriano's suggestion 2021-03-27 18:04:25 +03:00
AlexPeshkoff
967fb28e5d Fixed CORE-6525: Segfaults in fbclient when receiving invalid / unexpected data from server 2021-03-26 14:59:43 +03:00
AlexPeshkoff
a0e7de4c8f Fixed CORE-6468: Wire compression causes sporadic "Error reading data from the connection." errors. 2021-03-01 20:12:05 +03:00
Dmitry Yemanov
0191a26b6b Report misconfiguration to the log file rather than directly to the user. Validate configured directories before accessing them. Minor refactoring of the logging routines. Renamed 'Origin' to 'Primary' in the code. 2021-02-26 15:31:23 +03:00
Adriano dos Santos Fernandes
84d167ae4e Fix warnings. 2021-02-16 13:00:02 -03:00
hvlad
4fd96eefb5 This should fix bug CORE-6488 : Event delivery could be missed when local (XNET) protocol is used 2021-02-16 12:25:36 +02:00
hvlad
28a8cd2a5c This should avoid hangup\crash when engine shutdown was not complete within the allowed timeout. 2021-02-03 21:43:02 +02:00
2a41326de2
Make UID output comply RFC 4122 (#306)
* Make UID output comply RFC 4122

* Update format specifier to explicit unsigned char type
2021-01-27 21:07:27 +03:00
Dmitry Yemanov
fd469b25f6 Revert back to simple sequential version numbering, be more compatible with future protocol extensions 2020-12-31 12:37:36 +03:00
Dmitry Starodubov
547c4a5517 Set SO_KEEPALIVE for Classic server 2020-12-23 12:20:25 +03:00
hvlad
1e4a6fad0a Let use 64-bit int for CPU affinity mask (CpuAffinityMask setting). 2020-12-16 23:13:41 +02:00
AlexPeshkoff
c1179d7a24 Removed dispose() and release() from most of implementations as was suggested by Adriano long time ago.
Cleanup old unused debugging feature (RefDeb).
Fixed CORE-6433: Several firebird servers crash
2020-11-13 14:49:35 +03:00
AlexPeshkoff
f88c95acb6 Fixed CORE-6432: Possible buffer overflow in client library in Attachment::getInfo() call 2020-10-28 20:46:40 +03:00
Artyom Abakumov
20f2aac5b8 Fxed bug CORE-6426: Assert when batch executed without BLOB field 2020-10-22 10:55:45 +03:00
Dmitry Yemanov
78893a70e9 More consistent error reporting 2020-10-07 20:52:52 +03:00
434b7a8c97
Move Config to Firebird namespace (#282) 2020-09-11 20:06:48 +03:00
AlexPeshkoff
349bcab375 This should fix windows build after CORE-6388 2020-08-14 18:34:17 +03:00
AlexPeshkoff
ed732338fe Fixed CORE-6388: DEV_BUILD client asserts when closing event thread 2020-08-14 17:56:28 +03:00
AlexPeshkoff
5a7c0c7e3b Fixed CORE-6367: Segfault when receiving malformed packet from network 2020-07-23 20:13:09 +03:00
Dmitry Yemanov
ffdb0bc40f Frontported protection against orphan dbb, fixed return-else style, misc code simplifications 2020-07-13 16:45:14 +03:00
hvlad
a6588dc0ff This should fix bug CORE-6347 : New connections to database server sometimes stall, when there is existing connection to database. 2020-07-12 17:16:31 +03:00
AlexPeshkoff
6ec18998d0 Fixed CORE-6348: Wire compression causes freezes 2020-07-03 08:23:13 +03:00
AlexPeshkoff
7c1a0fee89 Fixed CORE-6329: GBAK with service_mgr and WinSSPI authentication for Windows SYSTEM user producing error in clumplet API 2020-06-17 19:42:54 +03:00
Alexander Peshkov
cb6fee68eb
Small meta name (#271)
Keep metadata name strings in hash table having just a pointer to a hash table member in all places where metadata name is needed in order to save RAM. Hash table of metadata names is almost lock-less: mutex is used only when new segment of memory is needed or hash table should be grown.

Co-authored-by: hvlad <hvlad@users.sourceforge.net>
2020-06-16 19:22:15 +03:00
hvlad
5f43ab808d This should fix unregistered bug : connection timeout doesn't work for INET if remote side is not answered on op_connect packet 2020-06-10 21:34:27 +03:00
hvlad
5b8ef34a96 Fixed assert in Statement::freeClientData(). 2020-06-09 12:16:44 +03:00
hvlad
04a78ef052 This should fix non-Windows builds 2020-05-22 14:34:02 +03:00
hvlad
b5986d593e This should fix CORE-6296 : Many connections results in poor performance 2020-05-22 13:42:59 +03:00
Dmitry Yemanov
a9874a2a4f Support for replication segments larger then 4GB (just in case it will be needed some day) + some changes in the binary format 2020-04-17 16:58:50 +03:00
Dmitry Yemanov
25646bd3f3 Less verbose output + replication timings 2020-04-16 19:34:03 +03:00
Dmitry Yemanov
0fe3c2611c Reduce warnings 2020-04-16 18:28:38 +03:00
AlexPeshkoff
9c219f5b65 Fixed unregistered bug: error handling in main server loop is broken 2020-04-14 17:39:55 +03:00
Dmitry Yemanov
a00f4f2385 Enforce control file consistency across platforms 2020-04-06 16:05:36 +03:00
hvlad
eae43d80cc Fixed bug CORE-6224 : [AV] Re-destruction of the rem_port object 2020-03-05 23:31:28 +02:00
Alexander Peshkov
2d2df601a3
None gmt fallback (#260)
Added new form of set bind: SET BIND OF TIME ZONE TO EXTENDED
2020-03-04 19:14:58 +03:00
AlexPeshkoff
678c48a1fc Fixed gcc warning 2020-01-31 12:53:04 +03:00
AlexPeshkoff
c9650051b9 Comment 2020-01-30 17:39:51 +03:00