From 5abe2c34ae57d2ac8e4b9d82c7bf71b775502dfd Mon Sep 17 00:00:00 2001 From: asfernandes Date: Tue, 1 Feb 2011 01:27:51 +0000 Subject: [PATCH] Fixed the problem reported privately by Dmitry. --- src/dsql/pass1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dsql/pass1.cpp b/src/dsql/pass1.cpp index e79765cbc5..88f7eaf93d 100644 --- a/src/dsql/pass1.cpp +++ b/src/dsql/pass1.cpp @@ -694,9 +694,9 @@ dsql_ctx* PASS1_make_context(DsqlCompilerScratch* dsqlScratch, const dsql_nod* r const char* string = NULL; if ((procNode = ExprNode::as(relation_node))) - string = procNode->alias.c_str(); + string = procNode->alias.nullStr(); else if ((relNode = ExprNode::as(relation_node))) - string = relNode->alias.c_str(); + string = relNode->alias.nullStr(); else if (relation_node->nod_type == nod_select_expr) { if (relation_node->nod_arg[e_sel_alias])