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

37 Commits

Author SHA1 Message Date
dimitr
a01de8439d Misc. 2009-08-13 15:08:50 +00:00
alexpeshkoff
c3e0b4081a Fixed CORE-2564: alignment error on risc machines 2009-07-20 13:44:02 +00:00
asfernandes
833857bc8d Fix warnings 2009-07-11 19:03:09 +00:00
robocop
5668628016 Misc. 2009-07-08 01:16:05 +00:00
asfernandes
5388749c02 Misc 2009-07-06 22:37:31 +00:00
dimitr
cc53600348 Front-ported my recent rework of the monitoring stuff. 2009-07-06 09:19:26 +00:00
alexpeshkoff
5a4eab402e Front-ported fix for CORE-2482: Monitoring tables data collection is unstable when attaching or detaching database 2009-05-29 14:10:18 +00:00
robocop
5acf561eb6 Get rid of some typedefs. 2009-04-02 08:53:25 +00:00
robocop
38f1fafbb9 Constness. 2009-02-08 12:57:49 +00:00
dimitr
1b3927b026 1) Globally named per-database shmem regions.
2) Slightly reworked monitoring internals.
3) Encapsulated the event manager, many internal changes there.
4) Various cleanup, etc.
2009-01-28 12:27:18 +00:00
asfernandes
590a2fdb1c Fixed a few signed vs unsigned warnings 2009-01-22 16:53:10 +00:00
robocop
71d10d3cf7 localId is always assigned a SLONG and compared to a SLONG, hence I changed it to SLONG. 2009-01-10 07:30:36 +00:00
dimitr
2208b35814 Fixed the regression for CORE-1926 reported by Philippe. 2008-12-24 13:34:12 +00:00
dimitr
cbae058950 Sync with B2_1_Release. 2008-12-17 12:08:52 +00:00
robocop
183cc9e0df Make the common code a new member function. 2008-12-14 08:55:39 +00:00
robocop
38bd660bb2 Style, assertions and some minor fixed. To be reviewed by Dmitry. 2008-12-13 09:19:55 +00:00
dimitr
40d041d628 Fixed the issue reported by Philippe. To be backported after more testing. 2008-12-12 16:04:57 +00:00
dimitr
25dc79dce2 Fixed CORE-2209: Very slow procesing of the monitoring requests under high load and blocking other activity during that time.
The new code is expected to work 100-200 times faster. To be field-tested.
Implemented CORE-2233: Allow non-SYSDBA users to monitor not only their current attachment but other their attachments as well.
Sorry for mixing two fixes inside a single commit, but they're somewhat related.
2008-12-11 11:58:50 +00:00
alexpeshkoff
e79f55708d 1. Cleanup - use Firebird::Semaphore instead of local events, removed code
related with local events from isc_sync.cpp.

2. Cleanup - removed unused parameter 'number of events' from ISC_event_wait()
and two unused parameters from ISC_event_init().

3. Added SYSV-semaphore based implementation of IPC to isc_sync.cpp.
This should fix CORE-2102: Firebird 2.5 does not build on MacOS (Darwin).

4. Fixed use of posic CS without (x)inetd (i.e. fb_inet_server -s).

5. Fixed (to be reviewed by Dmitry) recovery after some process death in lock manager.
2008-10-10 15:58:05 +00:00
alexpeshkoff
99f17b4d00 1. Frontported fix for CORE-1944: Monitoring tables contain wrong data
2. Added new methods to Clumplet classes - date, time and floating point support.

3. Avoid endianess #ifdef's in Clumplet classes.
2008-06-24 13:07:12 +00:00
dimitr
0a9e8c8382 Implemented CORE-1751. The changes include:
1) Make memory counters aggregated.
2) Add attachment pool and allocate appropriate resources out of this pool.
3) Always release attachments explicitly (via destructor).
4) Always delete user requests prior to attachment deletion.
5) Introduce memory usage counters per every monitoring object.
6) Misc refactoring.
Some pieces are still incomplete (although everything basically works), but I'd like to get feedback and testing sooner rather than later.
2008-05-06 08:46:39 +00:00
robocop
61662f5b5b Constness and style. 2008-04-19 09:42:01 +00:00
dimitr
253765389a Done CORE-1750. 2008-02-20 13:13:22 +00:00
dimitr
38ba8d34c8 Fixed CORE-1729. 2008-02-06 13:47:08 +00:00
dimitr
eccd4c00ca Cleanup. 2008-02-04 19:19:05 +00:00
alexpeshkoff
39896cb955 Fixed CORE-1671: atexit() calls in client libraries cause segfaults
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory

To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.

Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
d29ab14143 Fixed CORE-1642 and some const'ness. 2007-12-10 06:31:04 +00:00
dimitr
25097215b0 Added MON$STAT_GROUP into the statistics tables.
This allows to join backwards from a particular statistics record.
2007-09-28 12:59:14 +00:00
asfernandes
16bc18df54 Misc 2007-09-15 02:37:04 +00:00
dimitr
a13f1e0ff4 Added MON$IO_STATS and MON$RECORD_STATS. 2007-09-14 15:13:19 +00:00
dimitr
4ca4e336ff Fixed CORE-1359. 2007-07-16 15:26:04 +00:00
dimitr
d8700f35aa Fixed CORE-1330 plus some code cleanup. 2007-07-16 14:41:39 +00:00
dimitr
d31f946fba Added MON$CALL_STACK plus some minor monitoring-related changes. 2007-03-05 07:50:23 +00:00
dimitr
e4fffd425f 1) Updated monitoring implementation.
2) Cleanup.
2006-10-30 12:39:08 +00:00
dimitr
71c41904fe A few changed based on Adriano's suggestions. 2006-07-18 06:00:52 +00:00
asfernandes
833dbdbee0 Misc 2006-07-17 19:26:43 +00:00
dimitr
c68587fe66 1. Virtual tables
2. ODS 11.1, procedure type and relation type
2006-07-17 17:44:18 +00:00