Description
https://github.com/couchbase/libcouchbase/blob/master/example/pillowfight.cc#L201
if (libcouchbase_enable_timings(instance) != LIBCOUCHBASE_SUCCESS)
{ std::cerr << "Failed to enable timings!: " << libcouchbase_strerror(instance, error) << std::endl; timings = false; }Missing error = assignment here, so the error message printed here will be incorrect.
Attachments
For Gerrit Dashboard: CCBC-61 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
15505,3 | CCBC-61 Assign result of the operation | master | libcouchbase | Status: MERGED | +2 | +1 |