8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 06:43:04 +01:00
This commit is contained in:
asfernandes 2010-01-09 22:15:18 +00:00
parent b66e22d742
commit 7de2c38703
3 changed files with 4 additions and 8 deletions

View File

@ -28,12 +28,10 @@
#include "../jrd/common.h"
#include "BaseStream.h"
#include "MsgPrint.h"
#include "array.h"
#include <string.h>
#include "../jrd/gds_proto.h"
#include "../common/utils_proto.h"
#include "../jrd/file_params.h"
#include "../jrd/msg_encode.h"
namespace MsgFormat

View File

@ -196,4 +196,3 @@ inline size_t SafeArg::getCount() const
} // namespace
#endif // FB_SAFEARG_H

View File

@ -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;
@ -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,
const Firebird::MetaName& package)
void MET_dsql_cache_release(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));
// release lock
LCK_release(tdbb, item->lock);