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

ODBC rejects DATETIME value 0-00-00 00:00:00

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      The DATETIME value 0-00-00 00:00:00 is rejected by the driver with the following error:

      [ma-3.1.12][10.10.2-MariaDB-log]Invalid character value for cast specification
      

      MariaDB itself seems to accept this and treat it as if it was 0000-00-00 00:00:00.

      This happens when the value is given as a C-string instead of the ODBC date type.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:

                Git Integration

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