4da3997b49
Fixed CORE-5472: Problems with dbcrypt key transfer
2017-01-31 17:38:53 +03:00
Adriano dos Santos Fernandes
cae7bdd658
Misc.
2017-01-15 12:53:50 -02:00
33f5b0f69e
Better names - suggested by Dmitry and Vlad
2017-01-13 14:56:42 +03:00
01ecfb9225
Fixed CORE-5368: Regression: client application is hang (in same cases trow an access violation in Engine12.dll) on selecting from multiple threads using 1 embedded connection
2017-01-13 12:57:57 +03:00
5e70385a16
Fixed CORE-5433: Minor performance optimization - avoid additional database attachment from security objects mapping code
2016-12-30 19:28:37 +03:00
dbc73bff06
Restored security checks related to CHANGE_HEADER_SETTINGS privilege during attachment initialization
2016-12-30 19:18:06 +03:00
f88ddeda49
Fixed CORE-5428: Rare segfault when preparing request working with a table with triggers
2016-12-25 18:07:57 +03:00
Dmitry Yemanov
59a9129232
Temporarily disable the broken code path.
2016-12-14 19:30:25 +03:00
hvlad
c72cb574d4
Fixed bug CORE-5350 : Assert in CachedMasterInterface::set
2016-11-17 13:17:20 +02:00
Dmitry Starodubov
70acd97746
Added check for access rights to BLOBs ( #53 )
...
This security fix helps to avoid a case when user guessing blob ID in one or other way gets access to the blob which should not be accessible for him.
2016-10-18 10:39:04 +03:00
Adriano dos Santos Fernandes
937cb8dafd
Misc.
2016-10-07 11:09:43 -03:00
Roman Simakov
052c97b662
Fixes for DB level triggers
2016-10-03 17:55:40 +03:00
Roman Simakov
9aab6ed8cc
SQL SECURITY Feature ( #42 )
...
* Added SQL SECURITY clause to various DDL statements
2016-09-28 17:24:04 +03:00
1f32346d21
Frontported fix for CORE-5326: Embedded - encrypting a database crashes host process when background encryption gets ready while no connection is established to that database
2016-09-15 17:37:50 +03:00
6a745d9d9f
Fixed CORE-5339: Assertion in createDatabase() when doing overwrite check
2016-08-26 19:04:15 +03:00
Dmitry Yemanov
9d6d0913da
Fix missing flags initialization I accidentally removed in my last commit.
2016-08-22 09:13:44 +03:00
Dmitry Yemanov
a8af3b37a3
Slightly simplify csb initialization and better control its lifetime.
2016-08-20 16:53:54 +03:00
hvlad
20e03be59b
Fixed bug CORE-5330 : Trace session leads FB 4.0 to hang
2016-08-16 22:33:17 +03:00
9d8b20a77e
Fixed CORE-5269: FBTRACEMGR should understand "role <name>" command switch (needed to explicitly connect with role with "TRACE_ANY_ATTACHMENT" privilege)
2016-08-03 16:35:38 +03:00
a81d583845
Fixed CORE-5291: Error messages differ when regular user tries to RESTORE database, depending on his default role and (perhaps) system privilege USE_GBAK_UTILITY
2016-07-23 15:07:11 +03:00
Dmitry Yemanov
4759ea8aa3
Bugfix for CORE-5307: Random 'invalid transaction handle' errors are returned from the engine.
2016-07-13 18:48:12 +03:00
hvlad
a12035d461
Remove not necessary sync points - dbb_threads_sync
2016-07-06 16:16:22 +03:00
Dmitry Yemanov
0229709101
Bugfix for CORE-5275: Expression index may become inconsistent if CREATE
...
INDEX was interrupted after b-tree creation but before commiting.
2016-06-18 15:57:25 +03:00
Adriano dos Santos Fernandes
c07101e929
Misc.
2016-06-08 21:50:01 -03:00
7ad99b795e
Added support for system privileges
2016-05-31 20:07:08 +03:00
Adriano dos Santos Fernandes
fbba8ad798
Misc.
2016-05-26 14:59:03 -03:00
Roman Simakov
238fff3a2d
Fixed CORE-1815: Ability to grant role to another role ( #23 )
...
* Initial patch for cumulative roles
* Fixed multiple records in USER_PRIVILEGES and reworked logic on additional grant default role and admin option
2016-05-12 17:03:54 +03:00
Adriano dos Santos Fernandes
c31769c46a
Fixed problems reported by PVS-Studio - http://www.viva64.com/en/b/0396/
2016-05-11 13:16:24 -03:00
Dmitry Yemanov
174c252e0c
Major refactoring of savepoints. Beware of possible regressions.
2016-05-06 20:16:14 +03:00
Dmitry Yemanov
59e6c1f0cf
Postfix for CORE-5067. It prevents deadlocks involving the header page
...
and some data pages (due to disabled AST delivery).
2016-04-02 13:16:13 +03:00
Adriano dos Santos Fernandes
cf1a65dece
Misc.
2016-03-27 23:36:37 -03:00
hvlad
b713cb895e
Fixed bug CORE-5140 : Wrong error message when user tries to set number of page buffers into not supported value
2016-03-08 17:10:30 +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
hvlad
f2c8f05846
Front ported for CORE-5067 : Blocking new connections as a consequence of the too long sweep security2.fdb
2016-02-17 09:21:09 +00:00
alexpeshkoff
56e5ec3d78
Fixed CORE-5105: Deadlocks when database is initially encrypted
2016-02-05 15:21:58 +00:00
dimitr
8db2fdbd02
Fixed (or worked around, if you wish) redundant UTF8->system conversions happening if isc_dpb_utf8_filename tag is located in the middle of DPB.
2016-02-01 15:05:44 +00:00
asfernandes
436b531774
Misc.
2016-01-31 00:06:06 +00:00
dimitr
99ad42ab82
This should fix the races while accessing the relation statistics inside dbb_stats. Reads/writes/fetches/marks are incremented (CCH) and read (INF) unprotected, as it's crash safe and read skews are acceptable. Other counters (both global and relation wise) are protected with a mutex. They're incremented on demand based on the attachment counters (via diffs). While being there, cleaned up the currently unused performance counters.
2016-01-24 21:14:18 +00:00
hvlad
69afe4b976
Fixed bug CORE-5075 : Triger on DISCONNECT with dynamic SQL (ES 'insert into ...'): 1) does not work in 3.0
...
Also, log exception happens in ON DISCONNECT trigger.
2016-01-20 10:05:14 +00:00
hvlad
d82e043042
Fixed crash reason (see CORE-5075).
...
Error on disconnect requires more analyzing.
2016-01-14 23:09:01 +00:00
dimitr
df55756907
Unwind the cache before throwing. This prevents lock-ups during database shutdown.
2015-12-28 06:22:32 +00:00
dimitr
302cd6b401
Fixed CORE-4840: Transactions with isc_tpb_autocommit can hang the server.
2015-12-19 10:43:47 +00:00
aafemt
0903af542e
Rollback
2015-12-17 13:44:34 +00:00
dimitr
e39801c450
This should fix the minor error reporting regression noticed for bugs.core_3323.
2015-12-16 16:43:59 +00:00
aafemt
1fc4e352b0
Allow key holders to be called on client side (CORE-5043)
2015-12-14 14:07:05 +00:00
dimitr
6b6b605e01
Fixed possible problems with asynchronous query cancellation (recent regression).
2015-12-11 06:52:44 +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
dimitr
bf7951b259
Second round of my checkout/rescheduling changes.
2015-12-01 12:23:43 +00:00
dimitr
dc7aad88ed
1) Slightly refactored recheduling and checkout logic.
...
2) Re-enabled checkouts in PIO routines, this resolves CORE-4179. Windows build may be broken, please validate.
3) Implemented faster reaction on asynchronous cancellation/shutdown requests.
4) Avoided locking dbb_sync in AST. This change also solves races during massive attachment shutdown.
2015-11-29 15:12:31 +00:00
hvlad
a6d615c0cd
Fix one of the reason for AV in the engine (see CORE-4680, test by Pavel Zotov at 18 Nov 2015).
...
The race when gone attachment released database object while another attachment is initialized and uses same database object.
Could happens with shared cache (former SS) only.
2015-11-20 10:17:54 +00:00