Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-5897

Failing COM_STMT_PREPAREs that don't generate an ID aren't discarded from the history

    XMLWordPrintable

Details

    Description

      If a COM_STMT_PREPARE does not succeed, it remains in memory and is not pruned. The result of this is excessive memory usage for clients with long-running connections that use prepared statements which fail.

      This happens due to the fix to MXS-5302 which does not take into account the case where the prepared statement fails to generate an ID which implies that it doesn't need to be stored.

      Attachments

        Activity

          People

            markus makela markus makela
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.