mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 10:40:38 +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>
|
class CurrentDateNode : public TypedNode<ValueExprNode, ExprNode::TYPE_CURRENT_DATE>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CurrentDateNode(MemoryPool& pool)
|
explicit CurrentDateNode(MemoryPool& pool)
|
||||||
: TypedNode<ValueExprNode, ExprNode::TYPE_CURRENT_DATE>(pool)
|
: TypedNode<ValueExprNode, ExprNode::TYPE_CURRENT_DATE>(pool)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@ -194,7 +194,7 @@ public:
|
|||||||
class CurrentRoleNode : public TypedNode<ValueExprNode, ExprNode::TYPE_CURRENT_ROLE>
|
class CurrentRoleNode : public TypedNode<ValueExprNode, ExprNode::TYPE_CURRENT_ROLE>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CurrentRoleNode(MemoryPool& pool)
|
explicit CurrentRoleNode(MemoryPool& pool)
|
||||||
: TypedNode<ValueExprNode, ExprNode::TYPE_CURRENT_ROLE>(pool)
|
: TypedNode<ValueExprNode, ExprNode::TYPE_CURRENT_ROLE>(pool)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@ -217,7 +217,7 @@ public:
|
|||||||
class CurrentUserNode : public TypedNode<ValueExprNode, ExprNode::TYPE_CURRENT_USER>
|
class CurrentUserNode : public TypedNode<ValueExprNode, ExprNode::TYPE_CURRENT_USER>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CurrentUserNode(MemoryPool& pool)
|
explicit CurrentUserNode(MemoryPool& pool)
|
||||||
: TypedNode<ValueExprNode, ExprNode::TYPE_CURRENT_USER>(pool)
|
: TypedNode<ValueExprNode, ExprNode::TYPE_CURRENT_USER>(pool)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@ -262,7 +262,7 @@ public:
|
|||||||
|
|
||||||
static const InfoAttr INFO_TYPE_ATTRIBUTES[MAX_INFO_TYPE];
|
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);
|
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>
|
class NegateNode : public TypedNode<ValueExprNode, ExprNode::TYPE_NEGATE>
|
||||||
{
|
{
|
||||||
public:
|
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);
|
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>
|
class ValueIfNode : public TypedNode<ValueExprNode, ExprNode::TYPE_VALUE_IF>
|
||||||
{
|
{
|
||||||
public:
|
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);
|
dsql_nod* aFalseValue = NULL);
|
||||||
|
|
||||||
static DmlNode* parse(thread_db* tdbb, MemoryPool& pool, CompilerScratch* csb, UCHAR blrOp);
|
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;
|
dsql_nod** ptr = par_node->nod_arg;
|
||||||
for (const dsql_nod* const* const end = ptr + par_node->nod_count; ptr < end; ptr++)
|
for (const dsql_nod* const* const end = ptr + par_node->nod_count; ptr < end; ptr++)
|
||||||
set_parameter_name(*ptr, fld_node, relation);
|
set_parameter_name(*ptr, fld_node, relation);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user