diff --git a/support/test/src/utils/db_sqlite_test.cpp b/support/test/src/utils/db_sqlite_test.cpp index 65074513..3ec46607 100644 --- a/support/test/src/utils/db_sqlite_test.cpp +++ b/support/test/src/utils/db_sqlite_test.cpp @@ -37,7 +37,7 @@ public: db3.reset(db3_ptr); } - db3_stmt_t db3_stmt; + utils::db::sqlite::db3_stmt_t db3_stmt; { std::string sql{ "CREATE TABLE [table] (column1 TEXT PRIMARY KEY UNIQUE " @@ -45,12 +45,13 @@ public: }; sqlite3_stmt *stmt_ptr{}; - res = sqlite3_prepare_v2(db3.get(), sql.c_str(), -1, &stmt_ptr, nullptr); + auto res = + sqlite3_prepare_v2(db3.get(), sql.c_str(), -1, &stmt_ptr, nullptr); ASSERT_EQ(SQLITE_OK, res); db3_stmt.reset(stmt_ptr); } - res = sqlite3_step(db3_stmt.get()); + auto res = sqlite3_step(db3_stmt.get()); ASSERT_EQ(SQLITE_DONE, res); }