Bug 67445 - FILEOPEN: Time not shown correct in MariaDB connected direct to Base
Summary: FILEOPEN: Time not shown correct in MariaDB connected direct to Base
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
4.1.0.0.beta1
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-28 18:17 UTC by Robert Großkopf
Modified: 2013-08-01 05:54 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Time (and Timestamp) in connections between MariaDB and Base - bugs since LO 4.1.* (155.03 KB, application/vnd.oasis.opendocument.text)
2013-07-28 18:17 UTC, Robert Großkopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Großkopf 2013-07-28 18:17:47 UTC
Created attachment 83140 [details]
Time (and Timestamp) in connections between MariaDB and Base - bugs since LO 4.1.*

There seem to be some problems with date and time in the connection between MySQL/MariaDB and Base. This is the first for the time and the direct connection (connector: http://code.google.com/a/apache-extras.org/p/aoo-my-sdbc/)

When I open a MariaDB-table with a time in LO up to 4.0.4.2 the time is shown, for example, as 20:13:16. Works with the direct connector and with JDBC.

When I open the same table with LO 4.1.0.0.beta1 and all other 4.1-versions, LO shows with the direct connection 00:20:13 instead of 20:13:16. The connection with JDBC works right in this case.
Comment 1 Lionel Elie Mamane 2013-08-01 05:50:30 UTC
Apache OpenOffice and LibreOffice have diverged as far as date&time datatypes are concerned. A connector compiled for Apache OpenOffice will not work with LibreOffice, especially in the date & time area.

Reopen if you can reproduce with LibreOffice 4.1.0.4 or later, with a connector compiled for LibreOffice 4.1.0.4 (the release version, not an alpha/beta/rc).