mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 18:43:02 +01:00
Misc
This commit is contained in:
parent
6ac83fc55a
commit
cdb6af0ba8
@ -85,9 +85,8 @@ static void rethrowMetaException(const status_exception& ex, ISC_STATUS code, bo
|
|||||||
//----------------------
|
//----------------------
|
||||||
|
|
||||||
|
|
||||||
void DdlNode::executeDdlTrigger(thread_db* tdbb, jrd_tra* transaction,
|
void DdlNode::executeDdlTrigger(thread_db* tdbb, jrd_tra* transaction, DdlTriggerWhen when,
|
||||||
DdlTriggerWhen when, int action, const Firebird::MetaName& objectName,
|
int action, const MetaName& objectName, const string& sqlText)
|
||||||
const Firebird::string& sqlText)
|
|
||||||
{
|
{
|
||||||
Attachment* attachment = transaction->tra_attachment;
|
Attachment* attachment = transaction->tra_attachment;
|
||||||
|
|
||||||
@ -227,10 +226,9 @@ void DdlNode::resetContextStack()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Firebird::MetaName DdlNode::storeGlobalField(thread_db* tdbb, jrd_tra* transaction,
|
MetaName DdlNode::storeGlobalField(thread_db* tdbb, jrd_tra* transaction, const TypeClause& parameter)
|
||||||
const TypeClause& parameter)
|
|
||||||
{
|
{
|
||||||
Firebird::MetaName name;
|
MetaName name;
|
||||||
|
|
||||||
AutoCacheRequest requestHandle(tdbb, drq_s_fld_src, DYN_REQUESTS);
|
AutoCacheRequest requestHandle(tdbb, drq_s_fld_src, DYN_REQUESTS);
|
||||||
|
|
||||||
@ -861,7 +859,7 @@ void CreateAlterFunctionNode::executeCreate(thread_db* tdbb, jrd_tra* transactio
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
catch (const Firebird::status_exception& ex)
|
catch (const status_exception& ex)
|
||||||
{
|
{
|
||||||
if (ex.value()[1] != isc_no_dup)
|
if (ex.value()[1] != isc_no_dup)
|
||||||
throw;
|
throw;
|
||||||
@ -1261,7 +1259,7 @@ void CreateAlterFunctionNode::compile(thread_db* tdbb, jrd_tra* /*transaction*/)
|
|||||||
|
|
||||||
|
|
||||||
void DropFunctionNode::dropArguments(thread_db* tdbb, jrd_tra* transaction,
|
void DropFunctionNode::dropArguments(thread_db* tdbb, jrd_tra* transaction,
|
||||||
const Firebird::MetaName& functionName, const Firebird::MetaName& packageName)
|
const MetaName& functionName, const MetaName& packageName)
|
||||||
{
|
{
|
||||||
AutoCacheRequest requestHandle(tdbb, drq_e_func_args, DYN_REQUESTS);
|
AutoCacheRequest requestHandle(tdbb, drq_e_func_args, DYN_REQUESTS);
|
||||||
|
|
||||||
@ -1658,7 +1656,7 @@ void CreateAlterProcedureNode::executeCreate(thread_db* tdbb, jrd_tra* transacti
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
catch (const Firebird::status_exception& ex)
|
catch (const status_exception& ex)
|
||||||
{
|
{
|
||||||
if (ex.value()[1] != isc_no_dup)
|
if (ex.value()[1] != isc_no_dup)
|
||||||
throw;
|
throw;
|
||||||
@ -2072,7 +2070,7 @@ void CreateAlterProcedureNode::compile(thread_db* tdbb, jrd_tra* /*transaction*/
|
|||||||
|
|
||||||
|
|
||||||
void DropProcedureNode::dropParameters(thread_db* tdbb, jrd_tra* transaction,
|
void DropProcedureNode::dropParameters(thread_db* tdbb, jrd_tra* transaction,
|
||||||
const Firebird::MetaName& procedureName, const Firebird::MetaName& packageName)
|
const MetaName& procedureName, const MetaName& packageName)
|
||||||
{
|
{
|
||||||
AutoCacheRequest requestHandle(tdbb, drq_e_prms2, DYN_REQUESTS);
|
AutoCacheRequest requestHandle(tdbb, drq_e_prms2, DYN_REQUESTS);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user