Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CXXCBC-470: Distinguish between 'unset' and 'off' query_profile #551

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

DemetrisChr
Copy link
Contributor

Motivation

We can't distinguish whether the user explicitly set profile in the query options to 'off' or if it was left as the default value.

Change

Make profile optional in the core query_request which is only set if the user specifies the profile in the Public API's query options. Always send the profile parameter to the server if the user has set its value.

Results

All test cases in FIT's QueryParametersTest pass

@DemetrisChr DemetrisChr merged commit 3b375d6 into couchbase:main Apr 3, 2024
17 of 20 checks passed
@DemetrisChr DemetrisChr deleted the CXXCBC-470-query-profile branch April 3, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants