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

            Assignee:
            johan.wikman Johan Wikman
            Reporter:
            dapeng dapeng huang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration