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

Method fromNode

src/dsql/make.cpp:103–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void DsqlDescMaker::fromNode(DsqlCompilerScratch* scratch, dsc* desc,
104 ValueExprNode* node, bool nullable)
105{
106 DEV_BLKCHK(node, dsql_type_nod);
107
108 // If we already know the datatype, don't worry about anything.
109 if (node->getDsqlDesc().dsc_dtype)
110 *desc = node->getDsqlDesc();
111 else
112 node->make(scratch, desc);
113
114 desc->dsc_flags |= nullable ? DSC_nullable : 0;
115}
116
117void DsqlDescMaker::fromNode(DsqlCompilerScratch* scratch, ValueExprNode* node)
118{

Callers

nothing calls this directly

Calls 2

makeDsqlDescMethod · 0.80
makeMethod · 0.45

Tested by

no test coverage detected