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

426 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
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
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
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
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
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
2f503f2e2d Profiler. 2021-12-23 15:08:04 -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
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
Dmitry Yemanov
4218e335d7
Merge pull request #6793 from FirebirdSQL/work/gh-6788
Improvement #6788 - Extend EXTRACT to extract time zone strings.
2021-05-14 20:48:01 +03:00
Adriano dos Santos Fernandes
225b01442e Correction for #6798 docs as noted by Mark. 2021-05-14 13:45:28 -03:00
Adriano dos Santos Fernandes
3b372197e4 Feature #6798 - Add built-in functions UNICODE_CHAR and UNICODE_VAL to convert between Unicode code point and character. 2021-05-14 11:20:38 -03:00
Adriano dos Santos Fernandes
2ca31bf7d1 Update readme for #5588. 2021-05-13 14:11:29 -03:00
AlexPeshkoff
901c7021e0 Resolved #6797 2021-05-13 14:11:23 +03:00
AlexPeshkoff
cc443cce20 Resolve #6806, fixed related examples in readme 2021-05-12 19:32:49 +03:00
Adriano dos Santos Fernandes
57c8fd53b9 Fix #6800 - Client config DefaultTimeZone is not passed to server when isc_dpb_session_time_zone is not set. 2021-05-10 10:45:05 -03:00
Adriano dos Santos Fernandes
a02f0dea81 Improvement #6788 - Extend EXTRACT to extract time zone strings. 2021-05-04 11:41:35 -03:00
Adriano dos Santos Fernandes
5018dd6109 Improvement #6786 - Add session time zone to system context. 2021-05-04 11:32:47 -03:00
Mark Rotteveel
0e934bd662
SIMILAR TO also requires escape of }
See also https://github.com/FirebirdSQL/firebird-documentation/issues/124
2021-04-27 15:29:47 +02:00
Mark Rotteveel
6e685c3f82 Fix syntax error in substring-similar doc 2021-04-05 13:07:39 +02:00
Dmitry Yemanov
034e6e2453 Adjusted the docs 2021-01-28 20:33:40 +03:00
Dmitry Yemanov
b30ff76118 Replaced ADD/DROP with INCLUDE/EXCLUDE in replication DDL 2020-10-27 15:15:35 +03:00
Adriano dos Santos Fernandes
ff37d445ce Fixed CORE-6427 and CORE-6429:
- CORE-6427 - Whitespace as date separator causes conversion error.
- CORE-6429 - Timezone offset in timestamp/time literal and CAST should follow SQL standard syntax only.
2020-10-26 12:30:21 -03:00
AlexPeshkoff
e9f3eb360d Moved cryptographic hashes to separate function crypt_hash(), crc32 - into function hash() 2020-08-26 18:46:53 +03:00
Dmitry Yemanov
22ad236f62 CORE-6300 (next attachment/statement ID) and some other additions 2020-08-09 12:34:58 +03:00
AlexPeshkoff
23906efcff Fixed CORE-6303: Error writing to TIMESTAMP/TIME WITH TIME ZONE array 2020-07-21 19:07:04 +03:00