mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:43:04 +01:00
Restored old (SYSDBA) value of CURRENT_USER during BOOT_BUILD
This commit is contained in:
parent
9e4e6c5073
commit
4a4a01ee98
@ -7193,7 +7193,7 @@ static void getUserInfo(UserId& user, const DatabaseOptions& options)
|
||||
int node_id = 0;
|
||||
int id = -1, group = -1; // CVC: This var contained trash
|
||||
|
||||
#ifdef NO_SECURITY
|
||||
#ifdef BOOT_BUILD
|
||||
bool wheel = true;
|
||||
#else
|
||||
bool wheel = false;
|
||||
@ -7258,7 +7258,7 @@ static void getUserInfo(UserId& user, const DatabaseOptions& options)
|
||||
wheel = true;
|
||||
}
|
||||
}
|
||||
#endif // NO_SECURITY
|
||||
#endif // BOOT_BUILD
|
||||
|
||||
// In case we became WHEEL on an OS that didn't require name SYSDBA,
|
||||
// (Like Unix) force the effective Database User name to be SYSDBA
|
||||
|
@ -72,10 +72,6 @@ const int UIC_BASE = 8;
|
||||
const int UIC_BASE = 10;
|
||||
#endif
|
||||
|
||||
#ifdef BOOT_BUILD
|
||||
#define NO_SECURITY
|
||||
#endif
|
||||
|
||||
const SLONG BLOB_BUFFER_SIZE = 4096; /* used to read in acl blob */
|
||||
|
||||
using namespace Jrd;
|
||||
|
Loading…
Reference in New Issue
Block a user