Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
2.1.7
-
None
Description
The query classifier should expose more operations. For instance, the operation for the statement
call p1();
|
is reported as QUERY_OP_UNDEFINED. The true operation is known during the parsing process and could just as well be reported.
The operation of a CALL statement is now reported as QUERY_OP_CALL
The relevant query classifier information for CALL p1(); is
qc_get_type_mask : Ok : QUERY_TYPE_WRITE
qc_get_operation : Ok : QUERY_OP_CALL
and for CALL p1(@var);
qc_get_type_mask : Ok : QUERY_TYPE_WRITE|QUERY_TYPE_USERVAR_READ
qc_get_operation : Ok : QUERY_OP_CALL