Kaydet (Commit) 7aeb33a8 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS hsqldb9 (1.21.32); FILE MERGED

2006/09/05 08:43:55 oj 1.21.32.2: RESYNC: (1.21-1.22); FILE MERGED
2006/08/02 06:51:37 oj 1.21.32.1: #i65100# handle timestamp sql 2003 conform
üst 01bcd313
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: FieldDescriptions.cxx,v $ * $RCSfile: FieldDescriptions.cxx,v $
* *
* $Revision: 1.23 $ * $Revision: 1.24 $
* *
* last change: $Author: obo $ $Date: 2006-09-17 07:29:02 $ * last change: $Author: vg $ $Date: 2006-09-25 09:43:03 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -254,6 +254,12 @@ void OFieldDescription::FillFromTypeInfo(const TOTypeInfoSP& _pType,sal_Bool _bF ...@@ -254,6 +254,12 @@ void OFieldDescription::FillFromTypeInfo(const TOTypeInfoSP& _pType,sal_Bool _bF
SetPrecision(::std::min<sal_Int32>(nPrec,_pType->nPrecision)); SetPrecision(::std::min<sal_Int32>(nPrec,_pType->nPrecision));
} }
break; break;
case DataType::TIMESTAMP:
if ( bForce && _pType->nMaximumScale)
{
SetScale(::std::min<sal_Int32>(GetScale() ? GetScale() : DEFAULT_NUMERIC_SCALE,_pType->nMaximumScale));
}
break;
default: default:
if ( bForce ) if ( bForce )
{ {
......
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