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

[CX] Missing semi-colon creates unexpected results

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • CBAS DP3
    • CBAS DP3
    • analytics
    • None
    • CX Sprint 66, CX Sprint 67

    Description

      The statement

      create bucket beerbucket { "name":"beer-sample" }
      

      is missing the WITH keyword and surprisingly returns

      { "name":"beer-sample" }
      

      The reason seems to be that the statement is executed as

      create bucket beerbucket; { "name":"beer-sample" }
      

      first creating the bucket (posting to a data bucket "beersample" instead of "beer-sample") and then constructing and returning

      { "name":"beer-sample" }
      

      Attachments

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

        Activity

          People

            murtadha.hubail Murtadha Hubail
            till Till Westmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty