diff --git a/tests/integration/basic_example_it/basic_example.cpp b/tests/integration/basic_example_it/basic_example.cpp index 0798358311..fe51703769 100644 --- a/tests/integration/basic_example_it/basic_example.cpp +++ b/tests/integration/basic_example_it/basic_example.cpp @@ -415,7 +415,7 @@ static TStatus ExplicitTclTransaction(TSession session, const std::string& path, } static TStatus ScanQuerySelect(TTableClient client, const std::string& path, std::vector & vectorResultSet) { - std::vector result; + vectorResultSet.clear(); auto query = std::format(R"( --!syntax_v1 PRAGMA TablePathPrefix("{}");