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

989 Commits

Author SHA1 Message Date
Mark Rotteveel
2c79b8770d Fix profiler owner, copy changes from rlsnotes 2023-03-17 11:24:51 +01:00
Adriano dos Santos Fernandes
4595a2c0e3 Add PLG$PROF_CURSORS and some others fixes. 2023-01-10 20:57:51 -03:00
Adriano dos Santos Fernandes
8b934a38c0 Some corrections (datatypes and view's column name) in the profiler plugin. 2023-01-05 08:00:59 -03:00
Adriano dos Santos Fernandes
73c1ab807a
RDB$BLOB_UTIL system package. (#281)
* RDB$BLOB_UTIL system package.

* Do not checkout from engine when calling system packages.

* Remove usage of Attachment::SyncGuard in RDB$BLOB_UTIL.

* Fix Windows build.

* Fix RDB$BLOB_UTIL.SEEK.

* Fix crash.

* Rework changing routines and names for better fit after creation of BLOB_APPEND.

* Add RDB$BLOB_UTIL.IS_WRITABLE function.

* Misc.

* Fix documentation.

* Re-add and use RDB$BLOB_UTIL_HANDLE domain.

* Rename domain RDB$LONG_NUMBER to RDB$INTEGER.
2022-12-16 06:53:47 -03:00
Adriano dos Santos Fernandes
5cc8a8f7fd
SKIP LOCKED clause for SELECT WITH LOCK, UPDATE and DELETE (#7350)
* SKIP LOCKED clause for SELECT WITH LOCK, UPDATE and DELETE.

* Misc.

* Change as Dmitry suggested and fix Windows build.

* Change order of LOCK to between SKIP and FIRST.

* Avoid refetch with READ COMMITTED transaction as suggested by Dmitry.

* Revert changes to TRA_wait and use tra_probe in vio/prepare_update
when skipping locked.

* Add to CHANGELOG.
2022-10-28 07:09:01 -03:00
Dmitry Yemanov
cb104a6dec Update the docs 2022-10-24 14:40:02 +03:00
Dmitry Yemanov
213bc1c2b8 Front-copied BLOB_APPEND readme to master 2022-10-21 10:04:53 +03:00
Dmitry Yemanov
4039167924 Merge branch 'master' into partial-idx 2022-10-10 20:25:15 +03:00
Vlad Khorsun
4ab49be70c Improvement #7186 : FB4 Nbackup RDB$BACKUP_HISTORY issue 2022-10-06 13:01:04 +03:00
Dmitry Yemanov
f3269d144d Added the docs 2022-08-12 16:00:15 +03:00
Adriano dos Santos Fernandes
581795ed78 Merge branch 'work/profiler-plugin' into work/profiler-plugin-merge 2022-08-10 22:26:38 -03:00
Adriano dos Santos Fernandes
64c34f5127
Docs about FirebirdSQL/firebird-documentation#173 2022-07-13 22:19:48 -03:00
AlexPeshkoff
c3b172d4e2 Implemented #7046: Make ability to add comment to mapping ('COMMENT ON MAPPING ... IS ...') 2022-07-01 18:25:42 +03:00
Vlad Khorsun
885ff64f93
Merge pull request #7218 from FirebirdSQL/work/isql-perTableStats
Work/isql per table stats
2022-07-01 10:18:45 +03:00
AlexPeshkoff
96164aba77 Docs 2022-06-27 16:43:29 +03:00
Vlad Khorsun
a4c6a4db1c Some misc corrections per Adriano comments and documentations. 2022-06-24 12:18:33 +03:00
Adriano dos Santos Fernandes
2f2f5fec30 Design for future extensions with different timings types.
Add ProfilerStats interface and pass it to plugin instead of runTime parameter.

Rename *_TIME columns to *_ELAPSED_TIME.
2022-06-22 22:25:47 -03:00
Vlad Khorsun
4d22040f90 Fixed docs according to Adriano comments. 2022-06-17 22:07:33 +03:00
Vlad Khorsun
7d271e9e24 Documentation. 2022-06-16 18:48:10 +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
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
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
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
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
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
Dmitry Yemanov
4c8f31fc73 Merge remote-tracking branch 'origin/master' into cursor-info 2022-04-22 19:29:01 +03:00
Adriano dos Santos Fernandes
3c22c23874 Improvement #4769 - Allow sub-routines to access variables/parameters
defined at the outer/parent level [CORE4449].

Remove blr_parameter3.

Comment unused blr_run_count.
2022-01-30 12:15:03 -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
Adriano dos Santos Fernandes
2f503f2e2d Profiler. 2021-12-23 15:08:04 -03:00
Dmitry Yemanov
94e1b8b7a3 Initial implementation of ResultSet::getInfo() 2021-12-21 13:06:06 +03:00
Roman Simakov
1da899ab80
Update README.time_zone.md
Fix typo
2021-11-07 18:00:42 +03:00
Adriano dos Santos Fernandes
f412800202 Cleanup: get rid of unused variables. 2021-09-21 09:47:30 -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
Adriano dos Santos Fernandes
854b809c77 Feature #6681 and fix for #6942.
- #6681 - Support for WHEN NOT MATCHED BY SOURCE for MERGE statement [CORE6448].
- #6942 - Incorrect singleton error with MERGE and RETURNING.
2021-09-02 10:00:15 -03:00
Adriano dos Santos Fernandes
b32f96f2a9 Feature #6815 - Support multiple rows for DML RETURNING. 2021-08-25 14:56:20 -03:00
AlexPeshkoff
84f78b4fad Implemented #6929: Add support of PKCS v.1.5 padding to RSA functions, needed for backward compatibility with old systems. 2021-08-24 19:58:20 +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
Adriano dos Santos Fernandes
552ca92fb8 Change docs (#6910). 2021-07-30 15:25:20 -03:00
Adriano dos Santos Fernandes
234ae81f32 Feature #6910 - Add way to retrieve statement BLR with Statement::getInfo and ISQL's SET EXEC_PATH_DISPLAY BLR. 2021-07-30 15:25:20 -03:00
Adriano dos Santos Fernandes
1a8a895656 Revert "Feature #6910 - Add way to retrieve statement BLR with Statement::getInfo and ISQL's SET EXEC_PATH_DISPLAY BLR."
This reverts commit c93e8489fb.
2021-07-28 15:08:38 -03:00
Adriano dos Santos Fernandes
a4c15ca751 Revert "Change docs (#6910)."
This reverts commit aa60b60a79.
2021-07-28 15:08:13 -03:00