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

Server error messages which contain special chars aren't correctly displayed

    XMLWordPrintable

Details

    Description

      If a server error message contains special characters like '%' the prepared statement error function tries to substitute these characters which ends up in truncated error messages.

      Example:
      show grants for mysqltest_8

      Error sent from server:
      There is no such grant defined for user 'mysqltest_8' on host '%'

      Error displayed by client:
      There is no such grant defined for user 'mysqltest_8' on host '

      Attachments

        Activity

          People

            georg Georg Richter
            georg Georg Richter
            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.