Details

    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.

      Attachments

        Issue Links

          Activity

            johan.wikman Johan Wikman added a comment - - edited

            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
            

            johan.wikman Johan Wikman added a comment - - edited 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

            People

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