diff --git a/common/database/database_connection.cpp b/common/database/database_connection.cpp index b2b80e2968..0fe0c70fb7 100644 --- a/common/database/database_connection.cpp +++ b/common/database/database_connection.cpp @@ -627,7 +627,6 @@ bool DATABASE_CONNECTION::selectAllAndCache( const std::string& aTable, const st } } - m_cache->Put( aTable, cacheEntry ); wxASSERT( result.count( aKey ) ); std::string keyStr = std::any_cast( result.at( aKey ) ); cacheEntry[keyStr] = result;