alexpeshkoff
6a2016235a
Fixed CORE-4435: After calling release() for attachment to database (instead detach) in embedded mode attachment remains active forever (and some cleanup re. reference counters)
2014-06-10 07:13:34 +00:00
hvlad
db70a7742d
Fixed bug CORE-3921 : "record disappeared (186), file: vio.cpp line: 408"
2013-09-12 19:08:59 +00:00
dimitr
a12e7b6eaa
Cleanup.
2013-08-19 17:29:44 +00:00
alexpeshkoff
70a5c5db43
Always lock dbb_sync before accessing something in setLockAttachment()
2013-08-16 12:41:49 +00:00
alexpeshkoff
c74565ce0e
Avoid races with lck_attachment in AST
2012-12-29 13:48:49 +00:00
dimitr
42a4c93b97
1) Removed the no longer actual "parent lock" concept from both the lock and event managers.
...
2) Reworked the lock manager synchronization: added the RAII mutex holders and avoided dirty reads for the shared memory.
3) Encapsulated lck_length into the Lock class + small related refactoring.
4) Front ported recent fixes from the v2.x branches.
5) Misc cleanup.
2012-06-21 15:37:38 +00:00
alexpeshkoff
2a01e4bcf9
Implemented CORE-3861: Make it possible to encrypt database
...
Also some cleanups, the most important are:
- meaningful ctor on Jrd::Lock, helping to avoid code dup
- avoid unneeded h-file dependencies, making boot build engine dependent
2012-05-31 16:53:42 +00:00
hvlad
fef1f49c94
Shared page cache implementation
2011-05-09 10:15:19 +00:00
alexpeshkoff
f28f040e0f
Fixed CORE-3024: Error "no current record for fetch operation" after ALTER VIEW (and a lot of other possible inconsistencies)
2010-06-15 12:27:33 +00:00
dimitr
87c632874d
Support for PSQL functions (misc JRD changes). Still work in progress.
2009-12-21 17:31:34 +00:00
asfernandes
f8eb935eb7
Misc
2009-06-06 18:13:57 +00:00
alexpeshkoff
8e2b944337
gcc warnings
2009-06-03 12:55:45 +00:00
robocop
e9040f1a76
Misc.
2009-05-29 10:33:01 +00:00
dimitr
98611f0d49
Misc.
2009-05-29 08:02:16 +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
asfernandes
ff5f8745fb
Remove trailing spaces (.h files)
2008-12-05 00:56:15 +00:00
hvlad
ea9555d917
Fixed bug CORE-2018 : Only one client can access a readonly database
...
Missed parts, sorry
2008-10-14 13:15:25 +00:00
dimitr
ec1d5a91b4
1) Encapsulated the lock manager and integrated it into the engine.
...
2) Replaced "early" (before LM) checkouts with "late" (inside LM) ones.
3) Removed the mutex protection that's no longer necessary.
Note: the new LM contains some future code (currently commented out) which will be enabled and tested after the Alpha release.
2008-06-07 09:08:16 +00:00
dimitr
ce01eb98ae
Removed the unnecessary debugging field.
2008-05-12 07:02:08 +00:00
asfernandes
8b4a83f201
Misc
2008-05-11 03:00:46 +00:00
robocop
e44a99f339
Style and minor cleanup.
2008-05-10 03:44:57 +00:00
asfernandes
f0299cfb29
Misc
2008-04-03 01:11:26 +00:00
hvlad
259fafa647
Implement CORE-1819 : More efficient solution for CORE-1300
2008-04-02 23:46:59 +00:00
dimitr
f5659c0b70
1) Major cleanup of the old-style blk and allocator-based blk_type.
...
2) Added synchronization for the JRD locks.
2008-03-19 16:19:56 +00:00
dimitr
27b162532b
Adjustments for the changed LM. Restore the 64-bit owner IDs. Cleanup.
2008-02-11 17:31:38 +00:00
dimitr
3921854d21
Major synchronization changes. Description of the commit will be posted to fb-devel.
2008-01-26 13:30:47 +00:00
dimitr
d1e8f67a5d
The merge continued.
2008-01-16 09:29:37 +00:00
dimitr
91fa6a519b
1) Replaced the hackery LM-based ID generation with the local counter. Uniqueness will be ensured by the DatabaseSnapshot internals.
...
2) Fixed CORE-1441.
2007-09-05 07:18:37 +00:00
alexpeshkoff
6d66c28b13
Fixed solx86 build - not always offset_t and UINT64 are the same
2007-08-10 07:55:46 +00:00
skidder
04b9ec818b
NBAK synchronization rework. This should fix CORE-1151 and other Nbackup stability issues
2007-04-24 14:05:46 +00:00
dimitr
99c2df56b6
Changed cancellation implementation to work at the transaction level as being more efficient.
2007-01-07 15:15:06 +00:00
dimitr
b43b43eca9
1) Changed MON$STATEMENTS a bit.
...
2) Implemented statement cancellation.
2006-12-04 21:36:29 +00:00
dimitr
e4fffd425f
1) Updated monitoring implementation.
...
2) Cleanup.
2006-10-30 12:39:08 +00:00
dimitr
988782a96a
1) A new class to handle aggregated multi-level performance counters.
...
2) Cleanup and minor fixing.
3) A few monitoring changes.
2006-10-07 10:53:01 +00:00
asfernandes
e538061c38
Implementation of CREATE/DROP COLLATION and ISQL show/extraction of collations
2006-08-07 16:39:21 +00:00
dimitr
129e6229ee
Monitoring, continued.
2006-07-19 06:19:56 +00:00
asfernandes
a86cf35ad4
Synchronization of DSQL metadata cache objects in classic-server
2006-07-10 03:12:10 +00:00
hvlad
701f2cbda4
Global temporary tables implementation
2006-05-21 22:07:35 +00:00
robocop
f99a573a9a
Misc and check lock's string length.
2006-05-02 01:01:26 +00:00
robocop
1f84bac700
Mark unused data members, discover more code associated to conditional compilation, clean some places, replace custom loops by memcpy and memset when possible, etc.
2006-02-23 05:08:26 +00:00
hvlad
961aea2f41
Correction
2006-02-03 22:05:04 +00:00
hvlad
0bc1c4bf49
1. Allow to create FK constraints without exclusive database locking
...
2. Fix 'partner index not found' error when one process dropped FK and another trying to delete master record
3. misc changes in vio.cpp
2005-06-26 21:48:47 +00:00
robocop
802f244ec1
Misc changes
2004-05-09 05:48:33 +00:00
skidder
91efe0fba0
Carefully account attachment pointers used inside JRD lock structure. This should cure crash reported by Nils Boedeker
2004-05-05 05:28:48 +00:00
alexpeshkoff
7007d6f2a4
1. introduced Jrd and Ods namespaces
...
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 14:57:40 +00:00
robocop
f58c769c37
Cleanup. In geeky words:
...
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +00:00
robocop
e6187cecd2
Cleanup
...
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
robocop
5c3c8abd9a
Big cleanup.
...
God have pity on platform maintainers.
I only can compile/test Win32; sorry, folks.
2004-02-20 06:43:27 +00:00
brodsom
2aeb693d06
extern cleaning
...
removing underscores in macros
DLL_EXPORT cleaning
2003-10-03 01:53:34 +00:00
skidder
77b17de987
NBACKUP-related changes and some clean-up
2003-09-08 20:23:46 +00:00