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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.3
    • Fix Version/s: 1.6.4
    • Component/s: Other
    • Labels:
      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

            Assignee:
            diego dupin Diego Dupin
            Reporter:
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: