Skip to content

Commit dc7839a

Browse files
authored
Fix JSON strcmp against BSON array following mongo-c-driver f2c1bb79 (#1322)
1 parent a63231b commit dc7839a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.evergreen/config_generator/components/funcs/install_c_driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# Only LIBMONGOC_DOWNLOAD_VERSION needs to be updated when pinning to an unreleased commit.
1515
# If pinning to an unreleased commit, create a "Blocked" JIRA ticket with
1616
# a "depends on" link to the appropriate C Driver version release ticket.
17-
MONGOC_VERSION_MINIMUM = '1.29.0'
17+
MONGOC_VERSION_MINIMUM = 'f2c1bb7989177fa2ddba1a915e8423e46ee1defe' # CXX-3208: bump to 1.30.0 once released.
1818

1919

2020
class InstallCDriver(Function):

.evergreen/generated_configs/functions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ functions:
374374
type: setup
375375
params:
376376
updates:
377-
- { key: mongoc_version_minimum, value: 1.29.0 }
377+
- { key: mongoc_version_minimum, value: f2c1bb7989177fa2ddba1a915e8423e46ee1defe }
378378
- command: subprocess.exec
379379
type: setup
380380
params:

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ set(LIBBSON_REQUIRED_ABI_VERSION 1.0)
5454

5555
# Also update etc/purls.txt.
5656
set(LIBMONGOC_REQUIRED_VERSION 1.29.0)
57-
set(LIBMONGOC_DOWNLOAD_VERSION 1.29.0)
57+
set(LIBMONGOC_DOWNLOAD_VERSION f2c1bb7989177fa2ddba1a915e8423e46ee1defe)
5858
set(LIBMONGOC_REQUIRED_ABI_VERSION 1.0)
5959

6060
set(NEED_DOWNLOAD_C_DRIVER false)

src/bsoncxx/test/json.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ TEST_CASE("empty array is converted correctly to json string") {
6262
using bsoncxx::to_json;
6363

6464
auto doc = make_document(kvp("array", make_array()));
65-
REQUIRE(to_json(doc.view()) == R"({ "array" : [ ] })");
65+
REQUIRE(to_json(doc.view()) == R"({ "array" : [ ] })");
6666
}
6767

6868
TEST_CASE("CXX-941 is resolved") {

0 commit comments

Comments
 (0)