Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-609

Using getDate with some function result can return wrong result using binary protocol

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.5, 1.7.4
    • Component/s: protocol
    • Labels:
      None

      Description

      When using ADD_DATE function with String date value and using binary protocol can cause wrong parsing by java connector.

      example : SELECT DATE_ADD('2010-12-31 23:59:59', INTERVAL 2 SECOND) as t
      When using datetime, result is ok.

        Attachments

          Activity

            People

            Assignee:
            diego dupin Diego Dupin
            Reporter:
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: