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

improve TEXT parameter substitution

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 3.0.8
    • performance
    • None

    Description

      Actual client side prepared statement parse query to detect question mark parameters in query.
      This parsing use String.toCharArray(). Since java 9 and String compaction that can have internal representation in latin1 or utf-16, this now required calculation to get char array.
      A better solution is to get utf8 byte representation of commands and simply parse parameters indexes. This will avoids toCharArray and substring use.

      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.