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

maxscale crash when executing a prepare statement with zero of parameter

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 6.1.1, 6.1.3, 6.1.4
    • 6.2.0
    • Core
    • None

    Description

      This concerns only 6.1.x version. Issue is corrected in 6.2.0.
      feel free to close issue if 6.2 is the supported version of 6.1

      If a COM_STMT_PREPARE is send for a command with some parameters then a command COM_STMT_EXECUTE is sent without parameter, maxscale crash with error "MaxScale 6.1.1 received fatal signal 11"

      example :
      "CREATE TABLE prepare1 (t1 int not null primary key auto_increment, t2 int)"
      COM_STMT_PREPARE : "INSERT INTO prepare1(t1, t2) VALUES (?,?)"

      command COM_STMT_EXECUTE without parameter will crash maxscale.

      Attachments

        Activity

          People

            johan.wikman Johan Wikman
            diego dupin Diego Dupin
            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.