| Summary: | Base: HSQL to Firebird migration corrupts data | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Lars Jødal <lajo> |
| Component: | Base | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | xiscofauli |
| Priority: | medium | ||
| Version: | 6.3.0.0.alpha1+ | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 116968 | ||
|
Description
Lars Jødal
2019-07-15 17:56:36 UTC
MyDouble column problem is a duplicate of bug 126268 Timestamp problem reproduced in Version: 6.4.0.0.alpha0+ Build ID: ed2107f0488887528d8e49135d3270705f389ed5 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded At this point < https://opengrok.libreoffice.org/xref/core/dbaccess/source/filter/hsqldb/rowinputbinary.cxx?r=90882591#353 > these are the values debug:664:664: 2014-Dec-31 23:00:01 debug:664:664: 2014-Dec-31 23:00:15 so, 1 hour is lost somewhere... (In reply to Xisco Faulí from comment #1) > MyDouble column problem is a duplicate of bug 126268 The problem with DOUBLE seem to be different from the problem with DECIMAL. Testing with build dated 2019-07-17: Version: 6.4.0.0.alpha0+ (x86) Build ID: c738be4de6886a0c96b7d10df7e78c8b2964c135 CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; Locale: da-DK (da_DK); UI-Language: en-US Calc: CL In this version, the DECIMAL problem appears to be fixed (tested with attachment 152620 [details]), while the DOUBLE problem remains (tested with attachment 135786 [details]). Regarding time shift, the link https://wiki.documentfoundation.org/Documentation/HowTo/MigrateFromHSQLDB describes it like this: "The Migration Wizard does not manage to correctly migrate date fields, time fields, and date / time fields. This is because the HSQLDB works with local time zones. During the date-time migration, this suddenly turns into summer time values that are 2 hours earlier, but only one hour in winter time." I.e., the bug is known, and the link also gives a workaround, but not something that is part of automated migration. From memory, this is probably a timezone issue. There is already a report for this somewhere. AFAICR, HSQLDB stores a Java datetime with timezone corrections. However, this is not taken into account by Firebird when migrating. (In reply to Alex Thurgood from comment #4) > From memory, this is probably a timezone issue. There is already a report > for this somewhere. > > AFAICR, HSQLDB stores a Java datetime with timezone corrections. However, > this is not taken into account by Firebird when migrating. Yes, see bug 119675 *** This bug has been marked as a duplicate of bug 119675 *** |