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

56260 Commits

Author SHA1 Message Date
AlexPeshkoff
fda4859a50 Reworked (hopefully became better) fix for #7165: Provide ability to see in the trace log events related to missing security context 2022-06-16 21:32:58 +03:00
Vlad Khorsun
7d271e9e24 Documentation. 2022-06-16 18:48:10 +03:00
firebirds
fb855aa967 increment build number 2022-06-16 00:04:57 +00:00
Vlad Khorsun
889ff29299 Detach idle worker attachments after 60 seconds of inactivity to free system resources and metadata locks.
Also, publish worker attachments for monitoring.
2022-06-15 17:05:18 +03:00
AlexPeshkoff
7a3adffde7 Fix for #7165: Provide ability to see in the trace log events related to missing security context 2022-06-15 11:10:30 +03:00
firebirds
8663a346b7 increment build number 2022-06-15 00:05:16 +00:00
AlexPeshkoff
ba3928672c Small memory leak in gpre-preprocessed modules 2022-06-14 13:49:58 +03:00
Adriano dos Santos Fernandes
208f25b073 Update view's field types. 2022-06-10 22:53:36 -03:00
Adriano dos Santos Fernandes
82b98c07d1 Add TOTAL_TIME column to PLG$PROF_REQUESTS. Add view PLG$PROF_STATEMENT_STATS_VIEW. 2022-06-10 22:14:36 -03:00
firebirds
a738b2aab4 increment build number 2022-06-10 00:05:26 +00:00
AlexPeshkoff
055ec89b6a Fix for #7188: Memory leak when using multi-database transactions 2022-06-09 20:52:03 +03:00
Vlad Khorsun
25ddf6750d Missed piece for ancient backups and some misc stuff. 2022-06-09 18:55:18 +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
AlexPeshkoff
df959d04bc Fixed small and rare memory leaks related with 7204 2022-06-09 18:42:09 +03:00
Adriano dos Santos Fernandes
7411434b8b Improve accuracy. 2022-06-08 23:51:45 -03:00
firebirds
8a6d09674c increment build number 2022-06-09 00:05:37 +00:00
AlexPeshkoff
7d9f9f20f6 Fixed #7204: Segfault in gbak when restoring broken backup file over the wire 2022-06-08 20:24:16 +03:00
Dmitry Starodubov
4667c93915 Corrected determining of relation's security class for checking access rights to BLOB. 2022-06-08 13:20:52 +03:00
Vlad Khorsun
659705f3c5 Optimize concurrent bulk inserts of blobs. 2022-06-07 19:49:00 +03:00
Vlad Khorsun
7227b9af2d This makes concurrent bulk inserts to not fight for the same data page.
This is especially critical for CS performance.
2022-06-07 11:56:32 +03:00
Adriano dos Santos Fernandes
35ba33592f Add procedure SET_FLUSH_INTERVAL.
Add parameter FLUSH_INTERVAL to START_SESSION.
2022-06-06 21:52:00 -03:00
firebirds
ac20b6c08d increment build number 2022-06-07 00:05:34 +00:00
AlexPeshkoff
31807ead87 Fixed #7200: DROP DATABASE lead FB to hang if it is issued while DB encrypting/decrypting is in progress 2022-06-06 19:54:55 +03:00
Dmitry Yemanov
8c6c7e483e Correction 2022-06-06 12:32:19 +03:00
AlexPeshkoff
78c6792dd0 Restored global mutex location in the code 2022-06-06 10:35:42 +03:00
Vlad Khorsun
1e082b5e29 Some semaphores are replaced by condition variables to avoid polling with timeout. 2022-06-05 17:33:15 +03:00
Vlad Khorsun
7597cf932d Avoid file flushing when database is restored by multiple workers. 2022-06-05 17:31:43 +03:00
Adriano dos Santos Fernandes
e090ec0f60 Add system privilege PROFILE_ANY_ATTACHMENT and permission check.
Add some static_asserts.
2022-06-04 22:48:56 -03:00
Vlad Khorsun
82a569fb7e Fixed build with MSVC 17.1
Assume _MSC_VER will be increased to be >= 2000 when\if VC CRT library get new version number in suffix.
2022-06-04 15:45:43 -03:00
Vlad Khorsun
a3313c32b9 This should show value of _MSC_VER when build fails with new version of MSVC.
Note, it is not documented so far for newly released  MSVC 17.1.
2022-06-04 15:45:40 -03:00
Adriano dos Santos Fernandes
3fe37a6a60 Do not pass user's transaction to plugin.
Use autonomous transaction in flush.
2022-06-04 15:00:42 -03:00
Adriano dos Santos Fernandes
bb139df3c7 Remote attachment profiling. 2022-06-04 15:00:42 -03:00
Adriano dos Santos Fernandes
a0ade0c8f9 Move EngineContextHolder (and AttachmentHolder) to jrd.h. 2022-06-04 15:00:42 -03:00
Adriano dos Santos Fernandes
b3654c48e8 Add PLUGIN_OPTIONS parameters to RDB$PROFILER.START_SESSION. 2022-06-04 15:00:42 -03:00
Adriano dos Santos Fernandes
12f8d087d3 Add defaults to RDB$PROFILER.PAUSE_SESSION and RDB$PROFILER.FINISH_SESSION parameters. 2022-06-04 15:00:42 -03:00
Adriano dos Santos Fernandes
a8ae90d9f7 Add configuration parameter DefaultProfilerPlugin.
Change RDB$PROFILER.START_SESSION parameters order and put defaults on them.
2022-06-04 15:00:42 -03:00
Adriano dos Santos Fernandes
0c5874eed9 Add procedure RDB$PROFILER.DISCARD. 2022-06-04 15:00:42 -03:00
Adriano dos Santos Fernandes
9365493cde Add procedure RDB$PROFILER.CANCEL_SESSION. 2022-06-04 15:00:42 -03:00
Adriano dos Santos Fernandes
2f9c1f625f Document transaction usage restriction. 2022-06-04 15:00:42 -03:00
Adriano dos Santos Fernandes
3056a1c302 Rename SESSION_ID columns to PROFILE_ID. 2022-06-04 15:00:42 -03:00
Adriano dos Santos Fernandes
25a5de4112 Rename fbprof$ prefix to plg$prof_. 2022-06-04 15:00:42 -03:00
Adriano dos Santos Fernandes
8ab87bc627 Create metadata using the database owner account.
Add PLG$PROFILER role.

Fix grants.
2022-06-04 15:00:42 -03:00
firebirds
d90b361835 increment build number 2022-06-04 00:05:33 +00:00
AlexPeshkoff
0d5c71d90a Posfix for #7199: Various errors (strange messages in firebird.log, segfaults) with high rate of attach/detach database operations: partially restored old logic to avoid problems with replication shutdown 2022-06-03 18:38:59 +03:00
AlexPeshkoff
b0700cc328 Fixed #7199: Various errors (strange messages in firebird.log, segfaults) with high rate of attach/detach database operations 2022-06-03 18:10:07 +03:00
Vlad Khorsun
c0de952179 Cleanup 2022-06-03 12:25:02 +03:00
Vlad Khorsun
e5badeb332 More corrections according to Adriano review 2022-06-03 11:22:57 +03:00
firebirds
32f1aa0278 increment build number 2022-06-03 00:05:20 +00:00
Vlad Khorsun
f881f3119c Corrections according to Adriano review 2022-06-02 22:36:08 +03:00
Dmitry Yemanov
c61e186e2e Fixed (fingers crossed) crash during index creation (observed during restore) 2022-06-02 20:30:50 +03:00