Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-22281

Query Tab in UI: search for "let" in query history gives incorrect results

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 5.0.0
    • 5.0.0
    • tools
    • 4.7.0-1595
    • Untriaged
    • Unknown

    Description

      Search for "let" in query history results in following queries,some of them do not have "let"

       

      SELECT id, total FROM orders let total = (SELECT RAW SUM(orderlines.price) FROM orders.orderlines)[0];
      292 delete from default a where meta(default).id IN (SELECT RAW meta(default).id FROM default WHERE "centos" IN (SELECT RAW VMs.os FROM default.VMs));
      365 delete from default where meta().id in (select RAW to_string(email) UUID() from default d);
      367 delete from default where "sports" in (select d.hobby[0] from default d);

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            eben Eben Haber
            Prerna.Manaktala Prerna Manaktala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty