little statement_cache test changes

This commit is contained in:
Sascha Kühl
2025-08-12 16:30:45 +02:00
parent 6ac3f80887
commit a32330ef5b
4 changed files with 36 additions and 19 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ public:
template<typename Type>
utils::result<sql::query_result<Type>, utils::error> find() {
auto c = pool_.acquire();
const auto c = pool_.acquire();
if (!c.valid()) {
return utils::failure(make_error(error_code::NoConnectionAvailable, "Failed to acquire connection."));
}