[Libreoffice-bugs] [Bug 117732] Firebird: Migration: Time values are being changed during migration process (data type TIME and DATETIME)
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Jul 5 17:44:48 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=117732
--- Comment #18 from Terrence Enger <lo_bugs at iseries-guru.com> ---
Comment 14 says that Julien Nabet committed a patch to master. New
line 344 or 343 of dbaccess/source/filters/rowinputbinary.cxx reads
nHours = (valueInSecs / 3600) + 1;
What, I wonder, is the purpose of "+ 1"? Running this way, I observe
of tst_t:
( ) In first row (id=0), 15:10:10 is converted to 16:10:10
( ) In second row (id=1), 23:30:30 is converted to 24:30:30, and the
migration quite reasonably stops with message:
firebird_sdbc_error:
*value exceeds the range for a valid time
caused by
'isc_dsql_execute'
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180705/08ac352e/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list