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

handle very big COM_STMT_SEND_LONG_DATA packet.

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.5.9
    • Other
    • None

    Description

      Actual binary data are send using COM_STMT_SEND_LONG_DATA when using server prepare.

      Actual implementation has 2 issues :

      • Stream data are stored in an internal buffer, not send directly to socket.
      • There is no max_allowed_packet size check to return a good client error. (COM_STMT_RESET must be called prior to throwing exception)

      This cause unneeded use of memory, leading to OOM error, if stream size is really important.

      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.