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

Query classifier should handle COM_STMT_PREPARE

    XMLWordPrintable

Details

    • MXS-SPRINT-123

    Description

      The query classifier should handle COM_STMT_PREPARE packets so that the following code would be possible.

      GWBUF *pBuf = ...;
      uint32_t type_mask = qc_get_type_mask(pBuf);
       
      if (type_mask & (QUERY_TYPE_PREPARE_NAMED_STMT|QUERY_TYPE_PREPARE_STMT))
      {
          GWBUF* pStmt;
          qc_get_preparable_stmt(pBuf, &pStmt);
          type_mask = qc_get_type_mask(pStmt);
      }
      

      Attachments

        Activity

          People

            markus makela markus makela
            johan.wikman Johan Wikman
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.