mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:43:04 +01:00
Fixed the problem reported privately by Dmitry.
This commit is contained in:
parent
b0f702e7bd
commit
5abe2c34ae
@ -694,9 +694,9 @@ dsql_ctx* PASS1_make_context(DsqlCompilerScratch* dsqlScratch, const dsql_nod* r
|
|||||||
const char* string = NULL;
|
const char* string = NULL;
|
||||||
|
|
||||||
if ((procNode = ExprNode::as<ProcedureSourceNode>(relation_node)))
|
if ((procNode = ExprNode::as<ProcedureSourceNode>(relation_node)))
|
||||||
string = procNode->alias.c_str();
|
string = procNode->alias.nullStr();
|
||||||
else if ((relNode = ExprNode::as<RelationSourceNode>(relation_node)))
|
else if ((relNode = ExprNode::as<RelationSourceNode>(relation_node)))
|
||||||
string = relNode->alias.c_str();
|
string = relNode->alias.nullStr();
|
||||||
else if (relation_node->nod_type == nod_select_expr)
|
else if (relation_node->nod_type == nod_select_expr)
|
||||||
{
|
{
|
||||||
if (relation_node->nod_arg[e_sel_alias])
|
if (relation_node->nod_arg[e_sel_alias])
|
||||||
|
Loading…
Reference in New Issue
Block a user