Skip to content

Commit 2e0342e

Browse files
committed
fix: replace structured binding with explicit member access for Linux compatibility
Structured binding was causing 'Illegal instruction' error on Linux CI. Changed to explicit .first/.second access for better compatibility.
1 parent e8ba962 commit 2e0342e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration/server/gtid_dump_test.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,8 @@ TEST_F(GtidSnapshotIntegrationTest, GtidWithWhitespaceHandling) {
488488
};
489489

490490
for (size_t i = 0; i < test_cases.size(); ++i) {
491-
const auto& [gtid_with_whitespace, expected_normalized] = test_cases[i];
491+
const std::string& gtid_with_whitespace = test_cases[i].first;
492+
const std::string& expected_normalized = test_cases[i].second;
492493

493494
// Add a test document
494495
table_ctx_->index->AddDocument(static_cast<int>(i + 1), "test doc");

0 commit comments

Comments
 (0)