MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / CurrentTimeNode

Class CurrentTimeNode

src/dsql/ExprNodes.h:447–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445
446
447class CurrentTimeNode final : public TypedNode<ValueExprNode, ExprNode::TYPE_CURRENT_TIME>
448{
449public:
450 CurrentTimeNode(MemoryPool& pool, unsigned aPrecision)
451 : TypedNode<ValueExprNode, ExprNode::TYPE_CURRENT_TIME>(pool),
452 precision(aPrecision)
453 {
454 }
455
456 static DmlNode* parse(thread_db* tdbb, MemoryPool& pool, CompilerScratch* csb, const UCHAR blrOp);
457
458 virtual Firebird::string internalPrint(NodePrinter& printer) const;
459 virtual ValueExprNode* dsqlPass(DsqlCompilerScratch* dsqlScratch);
460 virtual void setParameterName(dsql_par* parameter) const;
461 virtual void genBlr(DsqlCompilerScratch* dsqlScratch);
462 virtual void make(DsqlCompilerScratch* dsqlScratch, dsc* desc);
463
464 virtual void getDesc(thread_db* tdbb, CompilerScratch* csb, dsc* desc);
465 virtual ValueExprNode* copy(thread_db* tdbb, NodeCopier& copier) const;
466 virtual ValueExprNode* pass2(thread_db* tdbb, CompilerScratch* csb);
467 virtual dsc* execute(thread_db* tdbb, Request* request) const;
468
469public:
470 unsigned precision;
471};
472
473
474class CurrentTimeStampNode final : public TypedNode<ValueExprNode, ExprNode::TYPE_CURRENT_TIMESTAMP>

Callers 2

parseMethod · 0.85
copyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected