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

Query classifier should handle COM_STMT_PREPARE

    XMLWordPrintable

    Details

      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

            Assignee:
            Unassigned
            Reporter:
            johan.wikman Johan Wikman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: