mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 01:23:03 +01:00
Misc
This commit is contained in:
parent
1b44692b7b
commit
c3d64106e0
@ -26,10 +26,10 @@ private:
|
|||||||
bool hasContext;
|
bool hasContext;
|
||||||
Firebird::string ctName;
|
Firebird::string ctName;
|
||||||
|
|
||||||
// Handle of library
|
// Handle of library
|
||||||
static HINSTANCE library;
|
static HINSTANCE library;
|
||||||
|
|
||||||
// declare entries, required from secur32.dll
|
// declare entries, required from secur32.dll
|
||||||
ACQUIRE_CREDENTIALS_HANDLE_FN_A fAcquireCredentialsHandle;
|
ACQUIRE_CREDENTIALS_HANDLE_FN_A fAcquireCredentialsHandle;
|
||||||
DELETE_SECURITY_CONTEXT_FN fDeleteSecurityContext;
|
DELETE_SECURITY_CONTEXT_FN fDeleteSecurityContext;
|
||||||
FREE_CREDENTIALS_HANDLE_FN fFreeCredentialsHandle;
|
FREE_CREDENTIALS_HANDLE_FN fFreeCredentialsHandle;
|
||||||
|
@ -6490,7 +6490,7 @@ static ISC_STATUS shutdown_dbb(thread_db* tdbb, Database* dbb, Attachment** rele
|
|||||||
}
|
}
|
||||||
|
|
||||||
// attach became invalid pointer
|
// attach became invalid pointer
|
||||||
// if we have someone, intereted in that fact, inform him
|
// if we have someone interested in that fact, inform him
|
||||||
if (released)
|
if (released)
|
||||||
{
|
{
|
||||||
*released++ = attach;
|
*released++ = attach;
|
||||||
@ -6537,7 +6537,7 @@ static ISC_STATUS shutdown_all()
|
|||||||
{
|
{
|
||||||
dbb_next = dbb->dbb_next;
|
dbb_next = dbb->dbb_next;
|
||||||
|
|
||||||
ISC_STATUS rc = shutdown_dbb(tdbb, dbb, 0);
|
ISC_STATUS rc = shutdown_dbb(tdbb, dbb, NULL);
|
||||||
if (rc != FB_SUCCESS)
|
if (rc != FB_SUCCESS)
|
||||||
{
|
{
|
||||||
if (initialized)
|
if (initialized)
|
||||||
@ -6851,7 +6851,7 @@ void JRD_shutdown_all(bool asyncMode)
|
|||||||
// defined SERVER_SHUTDOWN, performs full or partial shutdown
|
// defined SERVER_SHUTDOWN, performs full or partial shutdown
|
||||||
// of database. SERVER_SHUTDOWN defined controls some other
|
// of database. SERVER_SHUTDOWN defined controls some other
|
||||||
// aspects of operation, therefore was left "as is".
|
// aspects of operation, therefore was left "as is".
|
||||||
// Who wants to invent better naem for it, please do it.
|
// Who wants to invent better name for it, please do it.
|
||||||
|
|
||||||
void JRD_process_close()
|
void JRD_process_close()
|
||||||
{
|
{
|
||||||
|
@ -580,9 +580,9 @@ namespace
|
|||||||
handle = 0;
|
handle = 0;
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
YEntry(const YEntry&); //prohibit copy constructor
|
YEntry(const YEntry&); // prohibit copy constructor
|
||||||
|
|
||||||
bool recursive; //loopback call from ExecState, Udf, etc.
|
bool recursive; // loopback call from ExecState, Udf, etc.
|
||||||
|
|
||||||
static bool inside;
|
static bool inside;
|
||||||
static Handle* handle;
|
static Handle* handle;
|
||||||
|
@ -46,10 +46,10 @@ class dsql_req;
|
|||||||
namespace YValve
|
namespace YValve
|
||||||
{
|
{
|
||||||
// flags
|
// flags
|
||||||
const UCHAR HANDLE_TRANSACTION_limbo = 1;
|
const UCHAR HANDLE_TRANSACTION_limbo = 0x01;
|
||||||
const UCHAR HANDLE_BLOB_filter = 2; /* Blob is locally filtered */
|
const UCHAR HANDLE_BLOB_filter = 0x02; // Blob is locally filtered
|
||||||
const UCHAR HANDLE_STATEMENT_local = 4; /* Process DSQL statement locally */
|
const UCHAR HANDLE_STATEMENT_local = 0x04; // Process DSQL statement locally
|
||||||
const UCHAR HANDLE_STATEMENT_prepared = 8;
|
const UCHAR HANDLE_STATEMENT_prepared = 0x08;
|
||||||
const UCHAR HANDLE_shutdown = 0x10; // Database shutdown
|
const UCHAR HANDLE_shutdown = 0x10; // Database shutdown
|
||||||
|
|
||||||
// forwards
|
// forwards
|
||||||
|
Loading…
Reference in New Issue
Block a user