Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Do
-
None
-
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);
|
}
|