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

Indicator buffer is set to SQL_NULL_DATA when date field has value '0000-00-00'.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.0.13
    • N/A
    • General
    • None
    • Windows-64bit

    Description

      If we bind a date column with value '0000-00-00' (of aurora database via MariaDB ODBC driver) to SQL_C_TIMESTAMP in a data buffer, it populates the data buffer with correct value but incorrectly sets indicator buffer to SQL_NULL_DATA(-1). Same issue can be seen for all date data types datetime, timestamp, date and time.

      Attachments

        Activity

          People

            Lawrin Lawrin Novitsky
            kriti kriti suwalka
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.