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

block comments are not properly handled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.1.0
    • 6.6.5, 7.0.2, 7.1.0
    • query
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      create index ix1 ON default(c1,c2) WHERE type = "doc";
      EXPLAIN SELECT 1 FROM default d WHERE c1 = 2 /* xyz **/ AND type = "doc"; -- ignores every thing after comment. affect index selection. might results too.
       
      EXPLAIN SELECT 1 FROM default d WHERE c1 = 2 /* xyz */ AND type = "doc";  -- works
      
      

      https://forums.couchbase.com/t/block-comment/31684

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-48407
          # Subject Branch Project Status CR V

          Activity

            People

              pierre.regazzoni Pierre Regazzoni
              Sitaram.Vemulapalli Sitaram Vemulapalli
              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