[fdo-trac] #404: ODBC provider - Incorrect DateTime insert (seconds
are truncated)
FDO
trac_fdo at osgeo.org
Mon Oct 6 17:26:40 EDT 2008
#404: ODBC provider - Incorrect DateTime insert (seconds are truncated)
-----------------------------+----------------------------------------------
Reporter: danstoica | Owner: danstoica
Type: defect | Status: new
Priority: major | Milestone: 3.4.0
Component: ODBC Provider | Version: 3.2.0
Severity: 3 | Keywords:
External_id: 1127137 |
-----------------------------+----------------------------------------------
The string representing the datetime is not correctly formatted on insert
and the 'seconds' field is truncated. Example:
Insert 10/3/2008 1:41:55. Check the feature it in and on read the value
will come back as 10/3/2008 1:41:00
The error is in FdoRdbmsOdbcConnection::FdoToDbiTime() where the fact
'seconds' is a float is ignored and it is treated as an int instead.
--
Ticket URL: <http://trac.osgeo.org/fdo/ticket/404>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list