remove an arbitrary level of nested parentheses
not only one. Change-Id: I1f611dda6a98fb6244409c0cd1fc87fc9dfaa8c3
This commit is contained in:
@@ -985,7 +985,7 @@ bool OSQLParseTreeIterator::traverseSelectColumnNames(const OSQLParseNode* pSele
|
|||||||
sal_Int32 nType = DataType::VARCHAR;
|
sal_Int32 nType = DataType::VARCHAR;
|
||||||
sal_Bool bFkt(sal_False);
|
sal_Bool bFkt(sal_False);
|
||||||
pColumnRef = pColumnRef->getChild(0);
|
pColumnRef = pColumnRef->getChild(0);
|
||||||
if (
|
while (
|
||||||
pColumnRef->getKnownRuleID() != OSQLParseNode::subquery &&
|
pColumnRef->getKnownRuleID() != OSQLParseNode::subquery &&
|
||||||
pColumnRef->count() == 3 &&
|
pColumnRef->count() == 3 &&
|
||||||
SQL_ISPUNCTUATION(pColumnRef->getChild(0),"(") &&
|
SQL_ISPUNCTUATION(pColumnRef->getChild(0),"(") &&
|
||||||
|
Reference in New Issue
Block a user