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

Result-set identification of OK_Packet with 0xFE header when using option useCompression

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.6.3
    • 1.6.4
    • Other
    • None

    Description

      This concern only 1.6.3 version (correction already done in 2.1.0).

      Use a better result-set identification of OK_Packet with 0xFE header when using option useCompression. Error actually resulting in :

      java.lang.ArrayIndexOutOfBoundsException: 7
       
      	at org.mariadb.jdbc.internal.com.read.Buffer.skipLengthEncodedBytes(Buffer.java:224)
      	at org.mariadb.jdbc.internal.com.read.resultset.ColumnInformation.<init>(ColumnInformation.java:137)
      	at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.readResultSet(AbstractQueryProtocol.java:1311)
      	at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.readPacket(AbstractQueryProtocol.java:1098)
      	at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.getResult(AbstractQueryProtocol.java:1052)
      	at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:164)
      	at org.mariadb.jdbc.MariaDbStatement.executeInternal(MariaDbStatement.java:316)
      	at org.mariadb.jdbc.MariaDbStatement.executeQuery(MariaDbStatement.java:492)
      
      

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            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.