Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-1437

Positional Parameter Example Failing on SDK 3.2.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • 3.2.1
    • 3.2.0
    • docs
    • None
    • 1

    Description

      Hi, 

      While upgrading the C SDK on the playground from 3.1.0 to 3.2.0, I found that one of the examples on positional parameters does not work anymore. 

      I tested it locally on my machine as well & get the error 

      $ g++ -Wall -g test.cc -lcouchbase -pthread -o code -std=c++11

      $ ./code

      LCB_ERR_INVALID_ARGUMENT (203)

      The code is attached.

      The code works fine on the playground running 3.1.0 & also for the other SDKs.

      Has something changed in the SDK update that is causing this issue?

      Attachments

        1. test.cc
          4 kB
          Nithish Raghunandanan

        Issue Links

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

          Activity

            People

              avsej Sergey Avseyev
              nithish.raghunandanan Nithish Raghunandanan
              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