In OSQLParseTreeIterator::traverseCreateColumns, nLen has always been ignored

...ever since the code's introduction with
34506a92ae "INTEGRATION: CWS mozab04"

Change-Id: I845a53077f16cdea6d728b9e6964a55ceea3995d
This commit is contained in:
Stephan Bergmann
2017-06-27 16:35:09 +02:00
parent b30ae238b4
commit af9664f03b

View File

@@ -880,13 +880,6 @@ void OSQLParseTreeIterator::traverseCreateColumns(const OSQLParseNode* pSelectNo
aTypeName = pType->getTokenValue();
if (pDatatype->count() == 2 && (pType->getTokenID() == SQL_TOKEN_CHAR || pType->getTokenID() == SQL_TOKEN_CHARACTER ))
nType = DataType::CHAR;
const OSQLParseNode *pParams = pDatatype->getChild(pDatatype->count()-1);
if ( pParams->count() )
{
sal_Int32 nLen = pParams->getChild(1)->getTokenValue().toInt32();
(void)nLen;
}
}
else if(pDatatype && pDatatype->getNodeType() == SQLNodeType::Keyword)
{