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

56 Commits

Author SHA1 Message Date
7ad99b795e Added support for system privileges 2016-05-31 20:07:08 +03:00
hvlad
1a6b7740db Better usage of lock guards 2016-05-31 18:23:55 +03:00
142f91496c Cleanup - use global constant for SYSDBA user name 2016-04-11 18:04:41 +03:00
alexpeshkoff
71f4da06d3 Fixed CORE-5144: Deadlock when database is encrypted or decrypted under high parallel load 2016-03-09 14:58:08 +00:00
alexpeshkoff
926e3d903e Fixed some asserts and segfaults in crypto manager
Disable simultaneous nbackup & encrypt/decrypt operation
2016-02-26 12:55:34 +00:00
asfernandes
6259b1b1e0 Misc. 2016-02-15 02:53:24 +00:00
alexpeshkoff
0e45ec6caa Postfix for CORE-5100, thanks to Dmitry Sibiryakov 2016-02-07 07:44:46 +00:00
alexpeshkoff
56e5ec3d78 Fixed CORE-5105: Deadlocks when database is initially encrypted 2016-02-05 15:21:58 +00:00
alexpeshkoff
0c2f694ead Postfix for CORE-5100: restored binary compatibility with crypt plugins for RC1 2016-02-04 09:22:03 +00:00
alexpeshkoff
bebf1d5a70 Implemented CORE-5100: Improve control over database crypt keys 2016-02-03 13:20:41 +00:00
alexpeshkoff
08d4a3ed45 Fixed CORE-5044: Pages are encrypted for each shadow separately 2016-02-01 16:16:42 +00:00
asfernandes
436b531774 Misc. 2016-01-31 00:06:06 +00:00
alexpeshkoff
784260a967 Simplified code - thanks to Vlad 2016-01-29 15:46:06 +00:00
alexpeshkoff
92f1cef51d Fixed regression in CryptoManager added after RC1 - avoid reading incorrect header when database is locked by nbackup 2016-01-29 14:12:15 +00:00
robocop
e7a69b2932 Typo. 2016-01-21 00:25:23 +00:00
alexpeshkoff
b09b956eab Fixed CORE-5077: ISQL does not show encryption status of database 2016-01-18 17:30:37 +00:00
asfernandes
052af7edd4 Misc. 2016-01-17 01:46:26 +00:00
robocop
539fd4d80e Misc. 2015-12-25 01:08:17 +00:00
alexpeshkoff
8d436826c6 Mostly comments needed after fix for CORE-5041, also added some checks to be safer with repeated I/O 2015-12-15 16:54:23 +00:00
asfernandes
047175e1a5 Misc. 2015-12-13 01:02:02 +00:00
aafemt
7cf4523886 Allow only one ALTER DATABASE ENCRYPT query in transaction 2015-12-11 19:46:32 +00:00
alexpeshkoff
53bc8eb2cb Postfix for CORE-5041: try to leave slow I/O mode as soon as possible 2015-12-11 13:44:49 +00:00
alexpeshkoff
0891bc723d Fixed CORE-5041: Database may get corrupted after ALTER DATABASE ENCRYPT/DECRYPT issued multiple times per database open time 2015-12-10 16:58:58 +00:00
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