connectivity/source/parse/sqliterator.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit af9664f03bbe343c40150040d3f17f2e233a019f
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Tue Jun 27 16:35:09 2017 +0200

    In OSQLParseTreeIterator::traverseCreateColumns, nLen has always been 
ignored
    
    ...ever since the code's introduction with
    34506a92ae2f972c9a667e1498d62e73807e8084 "INTEGRATION: CWS mozab04"
    
    Change-Id: I845a53077f16cdea6d728b9e6964a55ceea3995d

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)
             {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to