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

253 Commits

Author SHA1 Message Date
alexpeshkoff
568861d2d7 Cleanup - removed unused any more service time only switches trusted_user & trusted_role 2014-06-25 11:20:42 +00:00
dimitr
6aeb91f66b Better naming. 2014-06-20 05:54:41 +00:00
hvlad
48074c1325 Implement improvement CORE-4451 : Allow output to trace explain plan form
New boolean setting was added into fbtrace.conf: explain_plan.
See also comments at fbtrace.conf nearby explain_plan.
2014-06-12 14:26:32 +00:00
alexpeshkoff
a98e565571 Fixed CORE-4303: Possible races while Service destruction, related code cleanup 2014-04-25 10:59:34 +00:00
asfernandes
8608223f53 Misc. 2014-04-13 01:42:10 +00:00
alexpeshkoff
20e846369e Implemented CORE-3370: Resolve additional aspects of multiple security databases from services and cross-database requests POV (mapping names) 2014-04-04 15:57:18 +00:00
robocop
fa2f26b645 A bit less repetitive code. 2014-04-04 07:51:24 +00:00
asfernandes
55f7f836b4 Warning. 2014-03-18 16:33:02 +00:00
asfernandes
c5ed1e0334 Misc. 2014-03-16 18:41:42 +00:00
hvlad
47a964fc75 Refactor TraceParamsImpl and company 2014-03-07 12:48:46 +00:00
asfernandes
ddd97ce346 Misc. 2014-03-04 02:12:15 +00:00
robocop
ae8f6d6b8f Misc. 2014-03-03 04:37:29 +00:00
robocop
fef237cbe9 Misc. 2014-02-22 07:02:50 +00:00
hvlad
65a1f44442 Improvement CORE-4345: Ability to trace stored functions execution 2014-02-19 23:16:47 +00:00
hvlad
eccee4d692 Use qualified name for packaged stored procedures in trace output 2014-02-13 21:15:40 +00:00
hvlad
57b5681a5c Fixed bug CORE-4319 : Engine crashes when trace config contains line "connection_id=NN" and we attempt to connect to non-existent database/alias 2014-01-20 10:20:48 +00:00
robocop
2810026363 Misc and warnings. 2013-12-29 00:35:50 +00:00
alexpeshkoff
d6297bebd4 Fixed some gcc warnings 2013-11-19 13:19:11 +00:00
alexpeshkoff
83db69c849 Fixed new gcc 4.7 warning "deleting object of polymorphic class" in many places. Adjusted use of interface types (reference counted vs just vesrioned). Avoided some hacks caused by badly chosen interface type. 2013-11-18 12:20:23 +00:00
alexpeshkoff
18d66a33b4 Cleanup - avoid unneeded generate's argument in SortedArray and Hash 2013-09-24 08:46:10 +00:00
hvlad
b9f34c1b46 Fixed bug CORE-4225 : Server crashes when attempting to trace activity on database having a db-level trigger 2013-09-18 13:48:22 +00:00
alexpeshkoff
a3abde8118 Fixed CORE-4211: Embedded engine hangs for 5 seconds when closing 2013-09-09 11:03:46 +00:00
asfernandes
24552c4bb2 Misc. 2013-05-12 02:45:54 +00:00
hvlad
4267d261d4 Fixed bug CORE-4094 : Wrong parameters order in trace output 2013-05-07 11:37:56 +00:00
alexpeshkoff
c7454a49a5 Work in progress (committed due to SF upgrade). Checked only on SS.
1. Frontported fix for CORE-3935 and CORE-3993.
2. Added debugging support for mutexes and rwlocks in Vulcan style.
Unfortunately after last 'svn up' build asserts in JrdStatement:71.
2012-12-14 17:59:02 +00:00
dimitr
bc1edae943 Added the initialization timestamp to shmem regions. Modified the lock print output to report this timestamp. This is useful to know as all the counters inside the lock table are incremental and a baseline is required to make any time-based estimations. 2012-12-06 08:13:45 +00:00
hvlad
3d33908684 Fixed bug CORE-3988 : Engine crashed when trace or audit is active 2012-11-20 10:00:47 +00:00
asfernandes
6a0a6f2d13 Misc. 2012-11-05 01:14:04 +00:00
alexpeshkoff
57e5936d44 Avoid use of namespace Jrd in common file isc_sync 2012-11-02 16:27:12 +00:00
alexpeshkoff
4ca6e669fe 1. Fixed CORE-3786: Firebird 2.5.1 Hangs on MacOSX 10.7 (Lion) on DB create after reboot.
2. Cleanup: avoid functional style in stuff exception.
2012-11-01 11:40:18 +00:00
hvlad
b636315561 Improvement CORE-3656 : Support for sweep information in Trace API.
Fixed case when sweep cleaned up relation with all records deleted but corresponding event was missed in trace log.
2012-09-04 11:35:16 +00:00
asfernandes
ba9f68d5d0 Misc. 2012-08-13 01:20:32 +00:00
robocop
f601bbdb8b Misc. 2012-08-08 02:20:30 +00:00
hvlad
9124f5e188 Front ported improvements
CORE-3656 : Support for sweep information in Trace API, and
CORE-2668 : Write note into log when automatic sweep is started
Also per-table stats is enabled at transaction level (see thread_db::bumpRelStats)
2012-08-02 08:55:21 +00:00
asfernandes
b31f4d9b94 Frontport UUID fixes (CORE-3238 and CORE-3887). 2012-07-11 01:56:37 +00:00
asfernandes
07557dc297 Misc. 2012-05-26 18:05:56 +00:00
robocop
642d506cd9 Change txn numbers to unsigned and commit after Vlad's review. If the compile-time checks (to ensure enough room for the new txn type) are too ugly, they may be deleted. 2012-05-19 12:04:37 +00:00
hvlad
d78703c9ae Improvement CORE-3539 : TRACE: add ability for logging ERRORs that occur in runtime (lock conflicts, PK/UK/FK violations et al) 2012-05-15 07:56:24 +00:00
hvlad
854231942a Fixed bug CORE-3845 : Interruption of 'heavy query' leads to 0 ms (zero duration) in it`s statistics in trace log 2012-05-12 09:30:15 +00:00
asfernandes
07747144f7 Unify DSQL/JRD sub-nodes. 2012-05-03 16:43:29 +00:00
hvlad
453e9d9ae1 Correct reference counting for log writer in trace plugin.
Also fixed few AVs.
2012-03-30 13:52:11 +00:00
alexpeshkoff
a89f9b7735 Fixed CORE-3782: Password encoding 2012-03-23 17:44:17 +00:00
alexpeshkoff
ef87048ba1 Fixed segfault, reported by Thomas Steinmaurer in devel 2012-03-21 11:16:13 +00:00
alexpeshkoff
4e795f4047 Include platform definitions file common.h in firebird.h. Use OS-specific ThreadId instead artificial FB_THREAD_ID, avoiding unneeded casts in the code. This should fix BSD and MAC ports. 2012-03-01 08:55:43 +00:00
asfernandes
27bb1f8bc1 1) Removed READ/WRITE BLOB sql commands. 2) Refactored request operations to fix server crashes. 2012-02-03 19:01:36 +00:00
alexpeshkoff
7fb8ebd3a9 Fixed CORE-1898: Increase the password length from 8 characters, CORE-3372: Simplify process of non-default security database creation 2011-12-23 12:43:58 +00:00
asfernandes
1bb24e6c08 Fixed CORE-3238 - Makes GEN_UUID return a compliant RFC-4122 binary UUID and introduce CHAR_TO_UUID2 and UUID_TO_CHAR2 to convert UUIDs from/to string also complying with the RFC. 2011-12-20 14:30:41 +00:00
asfernandes
d075c8459c Misc. 2011-12-17 01:34:39 +00:00
hvlad
92f4b8bf86 Second try to work with null's correctly 2011-12-16 14:48:49 +00:00
asfernandes
906ea4729e Misc. 2011-10-27 01:04:14 +00:00
hvlad
862a9e0694 Port forward fix for bug CORE-3636 : Firebird 2.5.1 server crashes with Trace API 2011-10-16 14:10:48 +00:00
alexpeshkoff
5aae50354d Frontported fix for CORE-3532: Server hangs starting new session when trace is running 2011-10-13 12:39:06 +00:00
alexpeshkoff
70ddf7a875 Make services work correctly with multiple security databases 2011-10-04 12:51:57 +00:00
hvlad
c55cdb25f6 Fixed AV in trace: after refactoring dsc_address field of input parameter descriptor contains offset in message buffer (it was real addresses before).
Reported by Alex privately.
2011-09-26 08:20:51 +00:00
alexpeshkoff
40348295e1 Used upgradeInterface() in a number of places.
Fixed memory leak when unloading module, related with upgraded interfaces.
Fixed timer on posix to be high resolution.
Better diagnostic in services.
2011-06-10 12:53:51 +00:00
alexpeshkoff
248d4eeb71 Fixed CORE-3512: Server hangs when trace is running (big thanks to Vlad) 2011-06-03 14:09:55 +00:00
alexpeshkoff
4641d2de68 Better interfaces hierarchy: all of them are derived from IVersioned 2011-05-19 16:24:46 +00:00
hvlad
fef1f49c94 Shared page cache implementation 2011-05-09 10:15:19 +00:00
alexpeshkoff
fb335fb58c Fixed correct calling convention - thanks to Adriano 2011-04-11 11:14:21 +00:00
alexpeshkoff
4c3f87d6bd Continued renaming interfaces. Added comments 2011-04-08 15:18:50 +00:00
alexpeshkoff
5c88e478f6 Use better names for a number of objects according to Vlad's suggestion 2011-04-07 17:16:00 +00:00
robocop
82403a5621 Misc, style, etc. 2011-04-02 04:45:26 +00:00
alexpeshkoff
9ef53b65e0 Remove reference counting where not appropriate 2011-03-31 13:44:22 +00:00
alexpeshkoff
f6914b8db0 Added timer-related interfaces. Added helper method to wait for plugin to be released on shutdown. Misc stability changes in PluginManager. 2011-03-16 11:04:04 +00:00
alexpeshkoff
7c8bacb692 Detect forced unload of plugin by OS when process is exited 2011-03-04 15:49:37 +00:00
alexpeshkoff
0a7c3fc69d Fixed CORE-3369: first step to make it possible to specify non-default security database for specific database 2011-03-02 13:42:56 +00:00
asfernandes
8ee5d6965e Warnings 2011-02-09 21:25:46 +00:00
asfernandes
7800060e22 Misc 2011-02-04 23:58:10 +00:00
dimitr
6449c942e7 Implemented CORE-3332: Provide more detailed information about the query execution plan. Some details are still to be worked on. 2011-02-02 11:31:04 +00:00
asfernandes
ccaaca7c72 Misc 2011-01-29 17:24:29 +00:00
hvlad
b512958a44 Fixed bug CORE-3315 : Audit plugin records a sencond *FAILED* EXECUTE_STATEMENT_FINISH after a "normal" one 2011-01-28 10:27:11 +00:00
asfernandes
248ddfa04a Misc 2011-01-28 00:58:32 +00:00
alexpeshkoff
eb11598570 Implement Thread::kill for posex threads. Do not support separate Thread::closeHandle - move it inside kill and waitForCompletion 2011-01-24 16:36:29 +00:00
hvlad
dca44e309d Make it compiles on Windows after Alex's changes. MSVC10 build will follow later. 2011-01-24 12:51:32 +00:00
hvlad
8e47db4154 Warning 2011-01-24 12:43:04 +00:00
asfernandes
233093cee4 Misc 2011-01-16 02:16:15 +00:00
alexpeshkoff
d6fcde387b New plugin manager. Use it for all types of plugins. 2011-01-14 17:31:40 +00:00
hvlad
f955808a51 Frontport better fix for bug CORE-3266 : Race condition between async service detach request and running user trace service 2010-12-17 22:32:35 +00:00
asfernandes
9c42d4e5af Finish the statements refactor in the engine. Get rid of jrd_nod. 2010-12-04 22:15:03 +00:00
asfernandes
a3064848d6 Make ExprNodes and RecordSourceNodes reference others directly instead of via jrd_nod.
Store ValueExprNodes instead of jrd_nod in the metadata cache.
Make RecordSourceNode child of ExprNode as they share most operations.
Get rid of the JRD visitors in favor of direct calls.
Convert assignments statement lists created inside expressions to separate source and targets ValuesExprNodes.
2010-11-21 03:47:29 +00:00
asfernandes
4dea3a42a1 Remove dependency of jrd_nod in ExprNode 2010-11-14 22:31:42 +00:00
asfernandes
2b6106938e Refactor variables 2010-11-02 17:05:01 +00:00
asfernandes
3317eeeebc Refactor literal values. 2010-10-24 00:26:00 +00:00
asfernandes
16ff0c51ce Refactor NULL expression 2010-10-22 15:00:22 +00:00
alexpeshkoff
e05c1a825f Moved some more .h-files to common from jrd as Vlad suggested 2010-10-13 10:39:52 +00:00
asfernandes
91384eb587 Misc 2010-10-12 17:40:27 +00:00
alexpeshkoff
83d6a2f88c Restored a lot of changes, rolled back by me unintentionally 2010-10-12 11:36:51 +00:00
alexpeshkoff
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +00:00
asfernandes
4d00fec2d6 Refactor parameters and GEN_ID. 2010-10-09 01:57:37 +00:00
asfernandes
dadc0f560c Const correction for EVL, EXE and they subsystems. Adjustments to CMP and OPT. 2010-08-09 15:48:51 +00:00
asfernandes
5baf890a21 Misc 2010-06-26 01:18:53 +00:00
alexpeshkoff
6cbefa1f46 Introduced class SharedMemory - base class for everything, using IPC. Related to CORE-3035. 2010-06-25 11:55:11 +00:00
alexpeshkoff
b6c0bbcd41 frontported fix for CORE-3021: Segfault in DEV_BUILD 2010-06-17 07:34:15 +00:00
asfernandes
3940feef1f Port from CVS Vlad's fixes for CORE-3015, CORE-3016 and CORE-3017 2010-06-05 00:48:06 +00:00
asfernandes
e37d097240 Misc 2010-05-22 02:00:45 +00:00
hvlad
ee2be8aca8 Improvement CORE-3008 : Add attachment's CHARACTER SET name into corresponding trace records 2010-05-19 16:25:50 +00:00
hvlad
335e3ad769 Fixed bug CORE-2981 : Error in Trace plugin (use local symbols in query) 2010-05-19 07:33:15 +00:00
alexpeshkoff
965b851b77 Fixed CORE-2984: gbak -v srv:db stdout creates a broken backup 2010-05-06 13:42:20 +00:00
asfernandes
4763533669 Refactor jrd_req into JrdStatement (shared part) and jrd_req (execution of a statement).
Fixed some bugs found in the way.
2010-04-18 22:19:11 +00:00
asfernandes
3387c9c288 Move impure area and rpbs to their own arrays 2010-04-09 15:43:48 +00:00