Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
HPCC-18006 Couchbase Plugin: Child datasets w/o XPATH #10262
Fix issue with parsing results containing child datasets when those children did not have explicit XPATHs defined for them.
Signed-off-by: Dan S. Camper email@example.com
Type of change:
Against sample code provided in Jira ticket and with other well-known Couchbase data.
Unit tests result:
Regression test result:
HPCC Stop: OK
CouchbaseRowBuilder::xpathOrName() used to return a simple const char* because all possible non-null values were already available. With this new version, one of the possible return values is a substring that requires construction. It made sense to pass in a container for the constructed string at that point.