aafemt
84573c0854
Perform db encryption checks at ddl time to avoid corrupting database by wrong plugin name in header
2015-12-09 14:22:13 +00:00
alexpeshkoff
5e0ba8c4a2
Partially rolled back changes in my last commit in order to restore CS support
2015-11-16 10:25:16 +00:00
alexpeshkoff
051ed9dd90
Slightly optimize loading of disk crypt plugin, thanks to Dmitry Sibiryakov
2015-11-16 09:48:16 +00:00
aafemt
537209b64a
A little comment
2015-11-11 16:14:39 +00:00
alexpeshkoff
7ed55fbe8f
Fixed CORE-4990: Database is not decrypted completely
2015-11-10 15:54:02 +00:00
hvlad
af286a2520
Additional means to avoid crash\hangup when application unload fbclient.dll not calling fb_shutdown.
...
Fixed reason of 500 ms delay experienced by such applications (described by Arno in fb-devel).
Fixed missing assignment of thread priorities.
2015-11-03 09:12:12 +00:00
alexpeshkoff
139331c7e3
Enhanced memory leaks search - changed FB_NEW to FB_NEW_POOL,
...
plain new to FB_NEW, making allocated with it blocks tagged with file/line.
Make related code slightly better readable.
2015-10-12 14:26:00 +00:00
asfernandes
336456d140
Misc.
2015-03-28 00:36:04 +00:00
alexpeshkoff
16768b177d
Be more consistent putting IStatus into fast inline wrapper. Also some syntax sugar as suggested by Dmitry
2015-03-27 17:51:19 +00:00
alexpeshkoff
6c5f9b77fe
Cleanup - avoid automatic type conversion in FbLocalStatus as suggested by Claudio
2015-03-23 11:06:51 +00:00
alexpeshkoff
c4c9daf132
Avoid limits on size of status vector in engine. Ensure that status is always clean on entry to interface methods.
2015-03-20 18:02:30 +00:00
asfernandes
47f64b0da4
Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
...
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
(redo with fix for Windows build, and left another TODO comment in FirebirdInterface.idl)
2015-02-18 15:01:17 +00:00
asfernandes
c861f0cd54
Revert my last change after it broke the Windows build.
2015-02-17 23:21:25 +00:00
asfernandes
3c967bbe71
Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
...
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
2015-02-17 14:56:59 +00:00
asfernandes
346992fcec
Remove IMaster::same from the API.
2015-01-12 14:56:55 +00:00
asfernandes
49d1a73994
Get rid of upgradeInterface API method and some adjustments. To be continued.
2014-11-10 14:45:40 +00:00
alexpeshkoff
f5645faaa0
Fixed windows build
2014-09-30 14:21:44 +00:00
alexpeshkoff
153de0f271
Language independent API
2014-09-29 11:03:47 +00:00
alexpeshkoff
d513daa574
Divide IStatus information into 3 parts: errors, warnings and completion code.
...
Errors and warnings are processed in IStatus independently. Completion code
is moved away from IStatus and returned directly by appropriate functions.
Replaced isSuccess() with more generic function getStatus(), which sets
appropriate bits in returned value when errors/warnings are present.
Also use same style when returning bytes' array and it's length in different
interfaces.
2014-08-27 09:24:30 +00:00
dimitr
36af3d8cb2
Cleanup and small refactoring to avoid redundancy.
2014-08-15 14:19:02 +00:00
skidder
7c743fc291
Fix build warnings
2014-07-17 18:48:46 +00:00
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
robocop
daae978a9c
Misc.
2014-03-26 19:10:08 +00:00
dimitr
fe23598a23
Separated shutdown (mostly for locks) from destruction.
2013-11-13 07:44:50 +00:00
alexpeshkoff
edd2f6945b
Fixed CORE-4185: related issues with crypt thread start/stop
2013-09-09 10:32:18 +00:00
alexpeshkoff
40bacdd743
Fixed CORE-4185: FB craches with "invalid lock id (NNNNN)"
2013-09-06 13:09:07 +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
alexpeshkoff
9bf5e60dfa
Anti isc_random pass
2012-06-29 12:44:41 +00:00
alexpeshkoff
c5cd59fb06
Fixed an issue, found by Claudio
2012-06-25 13:11:11 +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
9af385d031
Some changes in CryptoManager, discussed with Vlad and Adriano
2012-06-05 10:06:31 +00:00
asfernandes
1dcad0fe90
Misc.
2012-06-03 03:00:24 +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