diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-27 16:35:09 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-27 16:35:09 +0200 |
commit | af9664f03bbe343c40150040d3f17f2e233a019f (patch) | |
tree | b7bc6edb9d53fed9d22e87a18c2d1935f926439a | |
parent | b30ae238b451612cde2f785856a2a935e73d2dd5 (diff) |
In OSQLParseTreeIterator::traverseCreateColumns, nLen has always been ignored
...ever since the code's introduction with
34506a92ae2f972c9a667e1498d62e73807e8084 "INTEGRATION: CWS mozab04"
Change-Id: I845a53077f16cdea6d728b9e6964a55ceea3995d
-rw-r--r-- | connectivity/source/parse/sqliterator.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/connectivity/source/parse/sqliterator.cxx b/connectivity/source/parse/sqliterator.cxx index e3bca3b0315f..04011ed2b482 100644 --- a/connectivity/source/parse/sqliterator.cxx +++ b/connectivity/source/parse/sqliterator.cxx @@ -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) { |