Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-1036

org.mariadb.jdbc.client.socket.impl.PacketWriter.writeAscii() broken in 3.1.0

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Duplicate
    • 3.1.0
    • 3.1.1
    • Other
    • None

    Description

      Commit https://github.com/mariadb-corporation/mariadb-connector-j/commit/2bf550277768f99d2f5e999523011c57a3601725 broke writeAscii(): when the if condition is true, the string is written twice to the buffer. Adding a return statement at the end of the if should fix this.

      Attachments

        Issue Links

          Activity

            felix.fontein Felix Fontein added a comment - Created https://github.com/mariadb-corporation/mariadb-connector-j/pull/181 which should fix this.
            diego dupin Diego Dupin added a comment -

            closing ad dupplicate of CONJ-1035, but thanks anyway

            diego dupin Diego Dupin added a comment - closing ad dupplicate of CONJ-1035 , but thanks anyway

            People

              diego dupin Diego Dupin
              felix.fontein Felix Fontein
              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.