Details

    Description

       SELECT COUNT(IF(!c.ispackage, 1, NULL)) as cnt FROM test FOR UPDATE;
      

      This query should be QUERY_TYPE_WRITE, but it is QUERY_TYPE_READ now,

      If change it to

      SELECT COUNT(IF(not c.ispackage, 1, NULL)) as cnt FROM test FOR UPDATE
      

      , it will be ok

      Attachments

        Activity

          People

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