| 101 | } |
| 102 | |
| 103 | void 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 | |
| 117 | void DsqlDescMaker::fromNode(DsqlCompilerScratch* scratch, ValueExprNode* node) |
| 118 | { |
nothing calls this directly
no test coverage detected