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

Please don't echo query when using "cbq -q"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.6.2, 5.0.0
    • 5.0.0
    • query
    • None
    • Untriaged
    • Unknown

    Description

      Right now, if you use eg.

      cbq -q -e http://localhost:8095/ -f foo.sqlpp

      the command output will echo the contents of foo.sqlpp, despite the "-q" argument. This makes it impossible to use cbq in scripts or pipelines.

      I'm not sure it's ever reasonable to echo the query contents like this, but at a minimum "-q" should suppress it.

      Attachments

        Issue Links

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

          Activity

            People

              ceej Chris Hillery
              ceej Chris Hillery
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty