Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-155

Values read from MySQL TEXT columns are not null-terminated

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 2.1, 2.2.0
    • 2.2.3, 3.0.1
    • None
    • None
    • Centos6 64

    Description

      Using prepared statements to read MySQL TEXT columns leads to following results:

      • mysql_bind.length contains the correct length of the output text.
      • mysql_bind.buffer contains the required string but is not null-terminated.

      Unfortunately I could not find exact specification for this behaviour but since it differs from MySQL C Connector and handling of other string types, I suppose it could be a bug.

      Attachments

        Activity

          People

            georg Georg Richter
            kilya Alex Kiliski
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.