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

The workbench script, which contains comments interspersed within the queries, isn't functioning as expected.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Morpheus
    • 7.2.2
    • UI
    • None
    • Mac OS M1
    • Untriaged
    • 0
    • Unknown

    Description

      When attempting to execute the following script within the workbench, it doesn't produce the desired results. If we remove the comments interspersed within the queries, it works which clearly indicate that there is a parsing problem when we have comments in between the Queries.

      /*************************/ 
      /** Scope inventory_demo */ 
      /*************************/ 
      CREATE SCOPE `travel-sample`.`inventory_demo`;
       
      /* DDL for collection inventory_demo.Intel */
      CREATE COLLECTION `travel-sample`.`inventory_demo`.`Intel`; 
       
      /* DDL for collection inventory_demo.airport */
      CREATE COLLECTION `travel-sample`.`inventory_demo`.`airport`; 
       
      /* DDL for collection inventory_demo.airline */
      CREATE COLLECTION `travel-sample`.`inventory_demo`.`airline`; 
       
      /* DDL for collection inventory_demo.route */
      CREATE COLLECTION `travel-sample`.`inventory_demo`.`route`; 
       
      /* DDL for collection inventory_demo.landmark */
      CREATE COLLECTION `travel-sample`.`inventory_demo`.`landmark`; 
       
      /* DDL for collection inventory_demo.hotel */
      CREATE COLLECTION `travel-sample`.`inventory_demo`.`hotel`; 

      Attachments

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

        Activity

          People

            eben Eben Haber
            aayush.tyagi Aayush Tyagi
            Denis Rosa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty