Uploaded image for project: 'MariaDB Connector/ODBC'
  1. MariaDB Connector/ODBC
  2. ODBC-457

Introduce option to skip time truncation error

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.21, 3.2.5
    • 3.2.6, 3.1.22
    • General
    • None

    Description

      MariaDB time type can have partial seconds, while ODBC SQL_TIME can not. That makes it a bit problematic to insert such value. One should bind it either as interval type or as a string, because ODBC driver should return error if value have second decimals and bound as SQL_TIME. As always, there are legacy applications out there that cannot be changed.
      The solution can be connection string option not to return error in such case and send milliseconds to the server.

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Lawrin Novitsky made transition -
            Open Closed
            1d 23h 45m 1

            People

              Lawrin Lawrin Novitsky
              Lawrin Lawrin Novitsky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.