diff options
-rw-r--r-- | dbaccess/source/filter/hsqldb/fbcreateparser.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/dbaccess/source/filter/hsqldb/fbcreateparser.cxx b/dbaccess/source/filter/hsqldb/fbcreateparser.cxx index edb3fcd6cc6f..756b2bd3d445 100644 --- a/dbaccess/source/filter/hsqldb/fbcreateparser.cxx +++ b/dbaccess/source/filter/hsqldb/fbcreateparser.cxx @@ -184,11 +184,7 @@ OUString FbCreateStmtParser::compose() const // start with 0: // HSQLDB: first value will be 0. // Firebird: first value will be 1. - // but we can't put -1 for Firebird in case HSQLDB begins to 0 - sal_Int32 nStartValue = columnIter->getStartValue(); - if (nStartValue) - --nStartValue; - sSql.append(nStartValue); + sSql.append(columnIter->getStartValue() - 1); sSql.append(")"); } else if (!columnIter->isNullable()) |