You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/03/03 19:26:18 UTC

[jira] [Commented] (IGNITE-2747) ODBC: Time cast returns wrong results for Linux.

    [ https://issues.apache.org/jira/browse/IGNITE-2747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15178305#comment-15178305 ] 

ASF GitHub Bot commented on IGNITE-2747:
----------------------------------------

GitHub user isapego opened a pull request:

    https://github.com/apache/ignite/pull/536

    IGNITE-2747: Replaced mktime and gmtime with safe analogues.

    Merged with ignite-2557.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/isapego/ignite ignite-2747

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/536.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #536
    
----
commit 3fb85ad44106bace16c71b6f06c235c0e76b4f97
Author: isapego <is...@gridgain.com>
Date:   2016-02-05T13:14:27Z

    IGNITE-2557: queries test stub added.

commit a55f1b5c737e4380ee9e50c0f2bd473904ec08f8
Author: isapego <is...@gridgain.com>
Date:   2016-02-08T15:56:47Z

    IGNITE-2222: Test for the Date type added.

commit 39186f4042b7453026bc7eaf088ed5c7b3462f70
Author: isapego <is...@gridgain.com>
Date:   2016-02-08T16:39:59Z

    IGNITE-2222: Added ignite::Date class.

commit d7bf440fa0eff01babaf0979a4ea0827561f7500
Author: isapego <is...@gridgain.com>
Date:   2016-02-08T16:51:46Z

    IGNITE-2222: Added Date reading and writing to binary utils.

commit 35a6e1edd7c9a1207b035935f86671c787618b45
Author: isapego <is...@gridgain.com>
Date:   2016-02-08T17:03:12Z

    IGNITE-2222: Added Date to BinaryWriterImpl.

commit af8b0db6247352ae16c93c65a898255774773173
Author: isapego <is...@gridgain.com>
Date:   2016-02-08T17:19:36Z

    IGNITE-2222: Added specialisation WriteTopObject<Date>.

commit 6f86354fd4ad3f2c0ac62ba3e5333551c6233805
Author: isapego <is...@gridgain.com>
Date:   2016-02-08T17:24:20Z

    IGNITE-2222: BinaryRawWriter::WriteDate[Array] implemented.

commit 34bb1d68e096e083a85868dcf473f920e54c0af2
Author: isapego <is...@gridgain.com>
Date:   2016-02-08T18:05:37Z

    IGNITE-2222: Implemented BinaryReaderImpl::ReadDate[Array].

commit b03b9bfc969d76f76e4a6e5fa401061b919cad47
Author: isapego <is...@gridgain.com>
Date:   2016-02-08T18:08:32Z

    IGNITE-2222: Implemented BinaryRaqReader::ReadDate[Array].

commit e36f03bc5b16a074ab9308791d38a35b9bab1d72
Author: isapego <is...@gridgain.com>
Date:   2016-02-08T18:21:15Z

    IGNITE-2222: Fix for the test.

commit 0a4b2e326b99a38336832a1289ae1461697efb3b
Author: isapego <is...@gridgain.com>
Date:   2016-02-08T18:28:58Z

    IGNITE-2222: Added test for DateArray.

commit f08029aeb96a887c679f821f488b5d22b7a612fb
Author: isapego <is...@gridgain.com>
Date:   2016-02-08T18:44:16Z

    IGNITE-2222: Added BinaryWriter::WriteDate[Array].

commit e80350a4a0ae7bb5ab714f0bcb21b3b14236a8d8
Author: isapego <is...@gridgain.com>
Date:   2016-02-08T18:47:53Z

    IGNITE-2222: Added BinaryReader::ReadDate[Array].

commit 7428a3b1b3937d36f048916aeb773a2f058373f3
Author: isapego <is...@gridgain.com>
Date:   2016-02-08T19:06:36Z

    IGNITE-2222: Tests for Date type reworked.

commit 14d921b89c6d89e0368a044bd3eeff4e4f6a503f
Author: isapego <is...@gridgain.com>
Date:   2016-02-09T13:12:26Z

    IGNITE-2222: Added timestamp class.

commit 0263b602c85f0f5f5c94fb80d4571612fb923813
Author: isapego <is...@gridgain.com>
Date:   2016-02-09T13:28:56Z

    IGNITE-2222: Added binary utils for Timestamp.

commit 937248c3ace1b070c1c558c7fe17ce2864e735a4
Author: isapego <is...@gridgain.com>
Date:   2016-02-09T13:36:48Z

    IGNITE-2222: Timestamp binary type added.

commit 37db4a2a748582b7a83b51fdf46f8648e1fa4f87
Author: isapego <is...@gridgain.com>
Date:   2016-02-09T13:41:56Z

    IGNITE-2222: Added BinaryWriterImpl::WriteTimestamp[Array]().

commit a5583a79bbfec3157ae595b7c22cefc3be614706
Author: isapego <is...@gridgain.com>
Date:   2016-02-09T13:51:03Z

    IGNITE-2222: Added BinaryReaderImpl::ReadTimestamp[Array]().

commit 8e1a023ff3fbc480a9c6f17a239f7e11ce04f63b
Author: isapego <is...@gridgain.com>
Date:   2016-02-09T13:57:05Z

    IGNITE-2222: Added BinaryWriter::WriteTimestamp[Array]().

commit 8a851fd65a69231ff7477882554143a9f085bfcb
Author: isapego <is...@gridgain.com>
Date:   2016-02-09T13:59:17Z

    IGNITE-2222: Added BinaryReader::ReadTimestamp[Array]().

commit e4f2cdf5e0c7cbffd287c024191caff5e5bed9e1
Author: isapego <is...@gridgain.com>
Date:   2016-02-09T14:01:11Z

    IGNITE-2222: Added BinaryRawReader::ReadTimestamp[Array]().

commit 26cd9ea51d1f627be21ad2aee3632602b3cf5126
Author: isapego <is...@gridgain.com>
Date:   2016-02-09T14:04:06Z

    GNITE-2222: Added BinaryRawWriter::WriteTimestamp[Array]().

commit 67cacde49c67a5c811116f88c3adf8873b27e1a4
Author: isapego <is...@gridgain.com>
Date:   2016-02-09T14:14:40Z

    IGNITE-2222: Added tests for Timestamp binary type.

commit 78f7acaaf7812ae9ac700b7da4051baa8bd10807
Author: isapego <is...@gridgain.com>
Date:   2016-02-09T14:33:49Z

    IGNITE-2222: Fix for autotools build system.

commit 5863322968f7f8e2171972a1b0b3ad0c9b2748c7
Author: isapego <is...@gridgain.com>
Date:   2016-02-10T12:22:15Z

    IGNITE-2222: Renamed Timestamp::GetNanoseconds ->
    Timestamp::GetSecondFraction. Removed constructor Timestamp(const Date&).

commit f218d3098388b500fbd2e5bac45ab2308aa542b6
Author: isapego <is...@gridgain.com>
Date:   2016-02-10T13:23:45Z

    IGNITE-2222: Binary session tests for Date and Timestamp.

commit 741c5ced5e540cee670bf416f79881d2e049cdfc
Author: isapego <is...@gridgain.com>
Date:   2016-02-10T13:25:16Z

    IGNITE-2222: Deserialization fix for Date and Timestamp.

commit af4e324bfcbf1502b0f26a1a01f683cd6eae8fc7
Author: isapego <is...@gridgain.com>
Date:   2016-02-10T13:26:29Z

    IGNITE-2222: Cache tests for Date and Timestamp.

commit e34c132e3f3f77dcb93c39e0640dd298ddf42a67
Author: isapego <is...@gridgain.com>
Date:   2016-02-11T15:32:14Z

    IGNITE-2222: Added query tests for Timestamp and Date types.

----


> ODBC: Time cast returns wrong results for Linux.
> ------------------------------------------------
>
>                 Key: IGNITE-2747
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2747
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: odbc
>    Affects Versions: 1.5.0.final
>            Reporter: Igor Sapego
>            Assignee: Igor Sapego
>             Fix For: 1.6
>
>
> Current time cast does not work for Linux because {{timezone}} variable does not return right time offset for Linux.
> Also, {{gmtime}} is not thread-safe so it seems that we should use some platform-specific functions for time-conversion operations.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)