Uploaded image for project: 'MariaDB Connector/C++'
  1. MariaDB Connector/C++
  2. CONCPP-145

Inconsistency in getDouble() on text and binary result

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.7, 1.0.6
    • General
    • None

    Description

      If getDouble() called on some sort of string field and the value is not convertible to double, text result(client side prepared statement and statements) returns 0, but binary result(server side prepared statements) throws an exception.
      Since text protocol is used by default, it should be the same with binary - i.e 0 returned. Also, that is probably correct way

      Attachments

        Activity

          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.