Issue Details (XML | Word | Printable)

Key: CORE-4576
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Vlad Khorsun
Reporter: Vlad Khorsun
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Cache Writer thread could not start

Created: 10/Oct/14 10:10 AM   Updated: 25/May/16 06:30 AM
Component/s: Engine
Affects Version/s: 3.0 Alpha 1, 3.0 Alpha 2
Fix Version/s: 3.0 Beta 1

Environment: SuperServer only

QA Status: Cannot be tested
Test Details: can`t connect to securityN.fdb


 All   Comments   Change History   Subversion Commits      Sort Order: Descending order - Click to sort in ascending order
Vlad Khorsun added a comment - 10/Oct/14 10:21 AM
Cache writer thread is not started for security database.

SInce fb3, any database could be used as security database (for itself, for example) therefore engine check user name (passed on attachment request) in current database. This check used special short-lived attachment with isc_dpb_sec_attach specified. Therefore engine marks corresponding database as security database (in memory of course).
The fix is to move this mark from database (DBB_security_db) to the attachment level (ATT_security_db) and make correcponding adjustments.