8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 18:43:03 +01:00
This commit is contained in:
robocop 2009-02-08 12:44:01 +00:00
parent 8288081297
commit f4ec6b3be2
2 changed files with 7 additions and 7 deletions

View File

@ -206,7 +206,7 @@ struct udf_blob
class OwnedBlobStack : public Stack<blb*>
{
public:
OwnedBlobStack(thread_db* in_tdbb) :
explicit OwnedBlobStack(thread_db* in_tdbb) :
m_blob_created(0), m_tdbb(in_tdbb)
{}
~OwnedBlobStack();

View File

@ -38,7 +38,7 @@
using namespace Jrd;
using namespace Firebird;
struct FN
struct FN
{
const char* fn_module;
const char* fn_entrypoint;
@ -359,16 +359,16 @@ static SLONG set_context(const vary* ns_vary, const vary* name_vary, const vary*
}
}
if (att->att_trace_manager->needs().event_set_context)
if (att->att_trace_manager->needs().event_set_context)
{
TraceConnectionImpl conn(att);
TraceTransactionImpl tran(tra);
Firebird::string* value_str = NULL;
const Firebird::string* value_str = NULL;
if (value_vary)
value_str = att->att_context_vars.get(name_str);
TraceContextVarImpl ctxvar(ns_str.c_str(), name_str.c_str(),
TraceContextVarImpl ctxvar(ns_str.c_str(), name_str.c_str(),
value_str ? value_str->c_str() : NULL);
att->att_trace_manager->event_set_context(&conn, &tran, &ctxvar);