Skip to content

Commit

Permalink
ReEnable Test Joins with Collections Test for CBL-6243
Browse files Browse the repository at this point in the history
* ReEnable Test Joins with Collections Test’s Use Full Collection Name section for CBL-6243.

* Fixed DatabaseTest.cc build for the latest xcode.
  • Loading branch information
pasin committed Nov 4, 2024
1 parent d86faa0 commit a80abf2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion test/DatabaseTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ TEST_CASE_METHOD(DatabaseTest, "Legacy - Database change notifications from diff
CBLDocument_Release(doc);
};

thread t1([=]() { createDoc(db); });
thread t1([&]() { createDoc(db); });
thread t2([=]() { createDoc(anotherDB); });

t1.join();
Expand Down
3 changes: 0 additions & 3 deletions test/QueryTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -901,16 +901,13 @@ TEST_CASE_METHOD(QueryTest, "Test Joins with Collections", "[Query]") {

string queryString;

/*
CBL-6243
SECTION("Use Full Collection Name") {
queryString = "SELECT flowers.name, colors.color "
"FROM test.flowers "
"JOIN test.colors "
"ON flowers.cid = colors.cid "
"ORDER BY flowers.name";
}
*/

SECTION("Use Alias Name") {
queryString = "SELECT f.name, c.color "
Expand Down

0 comments on commit a80abf2

Please sign in to comment.