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

1146 Commits

Author SHA1 Message Date
Dmitry Yemanov
e276c222aa
Add COMPILE trace events for procedures/functions/triggers (#7466)
* Add COMPILE trace events for procedures/functions/triggers

* Fixed missing elapsed time for COMPILE_TRIGGER events
2023-08-15 12:34:20 +03:00
AlexPeshkoff
ab3d45b695 Do not take into an account value, returned by expandDatabaseName() 2023-08-03 14:31:57 +03:00
Vlad Khorsun
bc0b679f43 Improvement #7692 : Make trace config parser resolve symlinks in database file path in trace configuration 2023-08-02 17:24:55 +03:00
Vlad Khorsun
cbcfdaebd7
Merge pull request #286 from red-soft-ru/fb4_trace_warning
All checks were successful
continuous-integration/drone/push Build is passing
Remove outdated warning about trace record limit
2023-07-12 10:16:24 +03:00
Alexander Peshkov
d868e7ea78
Fixed #7579: Cannot nbackup a firebird 3.0 database in firebird 4.0 service with engine12 setup in Providers
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-13 18:16:37 +03:00
AlexPeshkoff
71a27ce507 Implemented #7468: Add switch to control in guardian timeout before killing firebird server process 2023-02-07 20:24:38 +03:00
Dmitry Yemanov
f329f4d84e Add gfix -upgrade support to fbsvcmgr 2023-01-11 19:31:32 +03:00
Adriano dos Santos Fernandes
d271f0e7df Avoid warnings. 2022-12-31 12:30:26 -03:00
Ilya Eremin
5a95b4ce38
Fix wrong calculation of the header page end (#7320)
* Fix wrong calculation of the header page end

* Use reinterpret_cast instead of C-style cast

* Fix build
2022-10-07 14:24:27 +03:00
Vlad Khorsun
4ab49be70c Improvement #7186 : FB4 Nbackup RDB$BACKUP_HISTORY issue 2022-10-06 13:01:04 +03:00
AlexPeshkoff
b7d42e20fa Fixed #7295: Unexpected message 'Error reading data from the connection' when fbtracemgr is closed using ctrl-C 2022-09-07 18:05:53 +03:00
Vlad Khorsun
ef607e37c5 Unify init\check methods for shared memory and avoid duplicating of type/version usage in code.
Replace asserts that check correct type/version by run-time checks with corresponding exceptions.
2022-07-12 12:14:41 +03:00
GitHub Action
c7db6dc207 Misc. 2022-06-30 10:25:44 +00:00
Vlad Khorsun
f121cd4a6b Improvement #6730 : Trace: provide ability to see STATEMENT RESTART events (or their count) [CORE6500].
Implemented new trace event: EXECUTE_STATEMENT_RESTART.
2022-06-27 18:59:33 +03:00
Vlad Khorsun
8450cc65a1 DIRECT_IO now works for restore too.
Also, fixed bug in backup introduced by recent change.
2022-06-09 18:54:09 +03:00
Vlad Khorsun
fa90269460 Parallel backup, restore and sweep. 2022-05-31 20:29:36 +03:00
aleksey.mochalov
778b6a43de Fixes #7191: set failure exit code after exception caught in gstat routine 2022-05-23 16:00:49 +03:00
AlexPeshkoff
a88dc50736 Fixed #7122: Invalid state of mapping cache after replacement of database 2022-02-01 19:22:50 +03:00
AlexPeshkoff
5bb2db6ea6 Fixed 2 assertions in DEV_BUILD reproted by Dmitry, dont affect releases 2022-01-31 13:21:54 +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
Ilya Eremin
973263a060 Fixes for fbtrace log rotation
* Fixed accidental overwriting and loss of rotated trace logs at high load

* Fixed race condition on POSIX when 2 or more threads can rotate a trace log file simultaneously

* Simplify generating of a mapped file name in fbtrace. Use "fb_trace_log_mutex" prefix for it.

* Separate fractions from seconds by a dot in names of rotated trace logs

* Add comments on how stat() is used during trace log rotation
2021-10-08 15:46:11 +03:00
Adriano dos Santos Fernandes
d3be1780b7 Cleanup: get rid of unused variables. 2021-09-16 11:19:27 -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
fddd84ad3d Fixed CORE-6498: Firebird server stops to listen to new connections after error in nbackup service 2021-02-25 16:44:06 +03:00
hvlad
3d3721af24 Update list of known services. 2021-02-18 19:30:54 +02:00
Dmitry Yemanov
2e0957f08a Fixed CORE-6478. Added -replica switch to gbak. Support all replication features in the Services API. 2021-02-04 19:46:41 +03:00
Dmitry Yemanov
4a2ca76e2d Restore the ability to recreate the replica using nbackup 2020-12-30 14:12:21 +03:00
Vlad Khorsun
9fc2640278 Merge pull request #301 from stbergmann/handlecompare
Fix checks for null HANDLE in Windows-only code
2020-12-05 01:49:12 +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
Vlad Khorsun
95f96a18f6
Merge pull request #295 from FirebirdSQL/config
Config
2020-11-12 22:33:18 +02:00
hvlad
f16dcfd273 New field RDB$CONFIG_SOURCE for RDB$CONFIG table.
Contains name of configuration (file) where given setting was set or NULL.

If configuration file placed under the Firebird root directory, only suffix part of full path is shown (such as "firebird.conf", "database.conf", etc).
Special name "<DPB>" is used for settings defined in DPB using isc_dpb_config tag.
2020-11-06 17:06:16 +02:00
AlexPeshkoff
0cfdd3de2c Fixed CORE-6412: Firebird is freezing when trying to manage users via triggers 2020-10-14 19:30:28 +03:00
Dmitry Starodubov
1fb17c0c87 Remove outdated warning about trace record limit 2020-09-28 10:32:36 +03:00
434b7a8c97
Move Config to Firebird namespace (#282) 2020-09-11 20:06:48 +03:00
Dmitry Yemanov
da793c41e4 Reset the replication stream ID after nbackup restore/fixup and some minor fixing 2020-09-10 13:05:05 +03:00
AlexPeshkoff
a4e79bb1ae Fixed CORE-6396: Unknown tag (0) in isc_svc_query() results 2020-09-02 18:16:07 +03:00
AlexPeshkoff
6f57680422 Implemented CORE-5085: Allow to fixup (nbackup) database via Services API 2020-07-22 14:56:13 +03:00
AlexPeshkoff
c2692c6cee Added explicit datatype INT128 (base type for high precision numeric/decimal), enhanced processing of SET BIND for exact digital datatypes 2020-06-24 12:57:18 +03:00
hvlad
dd241208f2 Let trace plugin show ROLE used when service attachment was established.
Format is the same as for database attachment: USER[:ROLE]
2020-06-21 12:51:51 +03:00
hvlad
f9365d76af Move public declarations from ntrace.h into firebird/Interface.h. 2020-06-20 20:38:45 +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
hvlad
c58e0eab48 Fixed bug CORE-6319 : NBACKUP locks db file on error 2020-05-27 14:17:29 +03:00
hvlad
b70aca6755 Fixed race with idle timer handler and ~PluginLogWriter().
Idle timer handler not blocks when run in parallel with write() anymore.
2020-05-25 01:04:51 +03:00
hvlad
e018f7541f Refactored TimerImpl to use std::function as Adriano suggested. 2020-05-22 11:54:38 +03:00
hvlad
27e4264c4c Fixed bug CORE-5838 : Rotated Trace files locked by engine 2020-05-19 18:30:30 +03:00
Dmitry Yemanov
f6321fa2e5 Simplification 2020-04-17 20:57:38 +03:00
hvlad
25d6fd4495 Improvement CORE-6095 : Extend trace record for COMMIT/ROLLBACK RETAINING to allow chaining of transaction ids 2020-02-23 22:54:20 +02:00
AlexPeshkoff
b241d04162 Fixed CORE-6141: fbsvcmgr action_repair rpr_list_limbo_trans does not show list of transactions in LIMBO state 2019-12-10 19:41:54 +03:00