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:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 0.25d
                0.25d

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.