mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 06:03:02 +01:00
Misc
This commit is contained in:
parent
b66e22d742
commit
7de2c38703
@ -28,12 +28,10 @@
|
|||||||
#include "../jrd/common.h"
|
#include "../jrd/common.h"
|
||||||
#include "BaseStream.h"
|
#include "BaseStream.h"
|
||||||
#include "MsgPrint.h"
|
#include "MsgPrint.h"
|
||||||
#include "array.h"
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "../jrd/gds_proto.h"
|
#include "../jrd/gds_proto.h"
|
||||||
#include "../common/utils_proto.h"
|
#include "../common/utils_proto.h"
|
||||||
#include "../jrd/file_params.h"
|
#include "../jrd/file_params.h"
|
||||||
#include "../jrd/msg_encode.h"
|
|
||||||
|
|
||||||
|
|
||||||
namespace MsgFormat
|
namespace MsgFormat
|
||||||
|
@ -196,4 +196,3 @@ inline size_t SafeArg::getCount() const
|
|||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
#endif // FB_SAFEARG_H
|
#endif // FB_SAFEARG_H
|
||||||
|
|
||||||
|
@ -1172,9 +1172,9 @@ void MET_delete_shadow(thread_db* tdbb, USHORT shadow_number)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool MET_dsql_cache_use(thread_db* tdbb, int type, const Firebird::MetaName& name, const Firebird::MetaName& package)
|
bool MET_dsql_cache_use(thread_db* tdbb, int type, const MetaName& name, const MetaName& package)
|
||||||
{
|
{
|
||||||
DSqlCacheItem* item = get_dsql_cache_item(tdbb, type, QualifiedName(package, name));
|
DSqlCacheItem* item = get_dsql_cache_item(tdbb, type, QualifiedName(name, package));
|
||||||
|
|
||||||
const bool obsolete = item->obsolete;
|
const bool obsolete = item->obsolete;
|
||||||
|
|
||||||
@ -1191,10 +1191,9 @@ bool MET_dsql_cache_use(thread_db* tdbb, int type, const Firebird::MetaName& nam
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void MET_dsql_cache_release(thread_db* tdbb, int type, const Firebird::MetaName& name,
|
void MET_dsql_cache_release(thread_db* tdbb, int type, const MetaName& name, const MetaName& package)
|
||||||
const Firebird::MetaName& package)
|
|
||||||
{
|
{
|
||||||
DSqlCacheItem* item = get_dsql_cache_item(tdbb, type, QualifiedName(package, name));
|
DSqlCacheItem* item = get_dsql_cache_item(tdbb, type, QualifiedName(name, package));
|
||||||
|
|
||||||
// release lock
|
// release lock
|
||||||
LCK_release(tdbb, item->lock);
|
LCK_release(tdbb, item->lock);
|
||||||
|
Loading…
Reference in New Issue
Block a user