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

getBoolean on binary field could return incorrect result or even crash

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 0.9.3
    • 0.9.4
    • General
    • None

    Description

      Unlikely this is a highly probable scenario of the getBoolean use, but still. Basically the problem is if column data is not null terminated.
      This is related to binary protocol, text doesn't have it. But what is common for both protocol - getBoolean is quite suboptimal, and may significantly slow down the program if text or binary column data is long.

      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.