Skip to content

CDRIVER-5816: mongoc_bulkwrite_new and mongoc_bulkwrite_set_client #1805

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

Merged
merged 2 commits into from
Dec 9, 2024

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Dec 4, 2024

https://jira.mongodb.org/browse/CDRIVER-5816
https://jira.mongodb.org/browse/CDRIVER-5817

Using this to POC the PHPC implementation in PHPC-2478, so there is no rush to review/merge.

test_bulkwrite_execute_requires_client,
NULL /* dtor */,
NULL /* ctx */,
test_framework_skip_if_max_wire_version_less_than_25, // require server 8.0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
test_framework_skip_if_max_wire_version_less_than_25, // require server 8.0
test_framework_skip_if_max_wire_version_less_than_25 // require server 8.0

Remove trailing comma to fix error:

../../../src/libmongoc/tests/test-mongoc-bulkwrite.c:718:4: error: expected expression
   TestSuite_AddFull (suite,
  ^

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for not making this a draft PR. I was actually relying on Evergreen to build it since it was difficult to do so directly from my submodule (as opposed to #1803, which I did through a separate fork).

@jmikola jmikola force-pushed the cdriver-5816 branch 3 times, most recently from 1cb53cd to c43ff8a Compare December 5, 2024 17:27
Copy link
Collaborator

@kevinAlbs kevinAlbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The contribution is much appreciated.

@@ -1438,12 +1445,36 @@ _bulkwritereturn_apply_result (mongoc_bulkwritereturn_t *self,
return true;
}

void
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just removed the MONGOC_EXPORT here per #1806 (comment).

@jmikola jmikola merged commit 9ed337b into mongodb:master Dec 9, 2024
45 checks passed
@jmikola jmikola deleted the cdriver-5816 branch December 9, 2024 18:07
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