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

Query classifier should handle COM_STMT_PREPARE

    Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      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: