mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 19:23:02 +01:00
Misc.
This commit is contained in:
parent
b64fefb4d9
commit
bca99bc9f0
@ -118,7 +118,7 @@ public:
|
||||
class CurrentDateNode : public TypedNode<ValueExprNode, ExprNode::TYPE_CURRENT_DATE>
|
||||
{
|
||||
public:
|
||||
CurrentDateNode(MemoryPool& pool)
|
||||
explicit CurrentDateNode(MemoryPool& pool)
|
||||
: TypedNode<ValueExprNode, ExprNode::TYPE_CURRENT_DATE>(pool)
|
||||
{
|
||||
}
|
||||
@ -194,7 +194,7 @@ public:
|
||||
class CurrentRoleNode : public TypedNode<ValueExprNode, ExprNode::TYPE_CURRENT_ROLE>
|
||||
{
|
||||
public:
|
||||
CurrentRoleNode(MemoryPool& pool)
|
||||
explicit CurrentRoleNode(MemoryPool& pool)
|
||||
: TypedNode<ValueExprNode, ExprNode::TYPE_CURRENT_ROLE>(pool)
|
||||
{
|
||||
}
|
||||
@ -217,7 +217,7 @@ public:
|
||||
class CurrentUserNode : public TypedNode<ValueExprNode, ExprNode::TYPE_CURRENT_USER>
|
||||
{
|
||||
public:
|
||||
CurrentUserNode(MemoryPool& pool)
|
||||
explicit CurrentUserNode(MemoryPool& pool)
|
||||
: TypedNode<ValueExprNode, ExprNode::TYPE_CURRENT_USER>(pool)
|
||||
{
|
||||
}
|
||||
@ -262,7 +262,7 @@ public:
|
||||
|
||||
static const InfoAttr INFO_TYPE_ATTRIBUTES[MAX_INFO_TYPE];
|
||||
|
||||
InternalInfoNode(MemoryPool& pool, dsql_nod* aArg = NULL);
|
||||
explicit InternalInfoNode(MemoryPool& pool, dsql_nod* aArg = NULL);
|
||||
|
||||
static DmlNode* parse(thread_db* tdbb, MemoryPool& pool, CompilerScratch* csb, UCHAR blrOp);
|
||||
|
||||
@ -286,7 +286,7 @@ public:
|
||||
class NegateNode : public TypedNode<ValueExprNode, ExprNode::TYPE_NEGATE>
|
||||
{
|
||||
public:
|
||||
NegateNode(MemoryPool& pool, dsql_nod* aArg = NULL);
|
||||
explicit NegateNode(MemoryPool& pool, dsql_nod* aArg = NULL);
|
||||
|
||||
static DmlNode* parse(thread_db* tdbb, MemoryPool& pool, CompilerScratch* csb, UCHAR blrOp);
|
||||
|
||||
@ -441,7 +441,7 @@ private:
|
||||
class ValueIfNode : public TypedNode<ValueExprNode, ExprNode::TYPE_VALUE_IF>
|
||||
{
|
||||
public:
|
||||
ValueIfNode(MemoryPool& pool, dsql_nod* aCondition = NULL, dsql_nod* aTrueValue = NULL,
|
||||
explicit ValueIfNode(MemoryPool& pool, dsql_nod* aCondition = NULL, dsql_nod* aTrueValue = NULL,
|
||||
dsql_nod* aFalseValue = NULL);
|
||||
|
||||
static DmlNode* parse(thread_db* tdbb, MemoryPool& pool, CompilerScratch* csb, UCHAR blrOp);
|
||||
|
@ -8808,6 +8808,7 @@ static void set_parameter_name( dsql_nod* par_node, const dsql_nod* fld_node, co
|
||||
dsql_nod** ptr = par_node->nod_arg;
|
||||
for (const dsql_nod* const* const end = ptr + par_node->nod_count; ptr < end; ptr++)
|
||||
set_parameter_name(*ptr, fld_node, relation);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user