Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit d725220

Browse files
authored
Merge branch 'master' into master
2 parents 229fb4a + 3bea6df commit d725220

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/common/statement_cache_manager_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ TEST_F(StatementCacheTests, InvalidateManyTest) {
6262
std::set<oid_t> ref_table = {0, 1};
6363

6464
for (auto oid : ref_table) {
65-
std::string string_name = "foo" + oid;
65+
std::string string_name = std::to_string(oid);
6666
std::string query = "SELECT * FROM TEST";
6767
auto statement = std::make_shared<Statement>(string_name, query);
6868
std::set<oid_t> cur_ref_table;
@@ -78,7 +78,7 @@ TEST_F(StatementCacheTests, InvalidateManyTest) {
7878

7979
// Both plans need to replan now
8080
for (auto oid : ref_table) {
81-
std::string string_name = "foo" + oid;
81+
std::string string_name = std::to_string(oid);
8282
auto statement = statement_cache.GetStatement(string_name);
8383

8484
EXPECT_TRUE(statement->GetNeedsReplan());

0 commit comments

Comments
 (0)