Kaydet (Commit) 974d73d2 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

remove an arbitrary level of nested parentheses

not only one.

Change-Id: I1f611dda6a98fb6244409c0cd1fc87fc9dfaa8c3
üst 7b4b3ad8
...@@ -985,7 +985,7 @@ bool OSQLParseTreeIterator::traverseSelectColumnNames(const OSQLParseNode* pSele ...@@ -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),"(") &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment