From 64da49f22e4fa84f3a56600ad3fe8f1a7e0640b3 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Wed, 5 Jun 2024 12:08:08 -0400 Subject: [PATCH] Remove extraneous cache fill per row Fixes https://gitlab.com/kicad/code/kicad/-/issues/18159 --- common/database/database_connection.cpp | 1 - 1 file changed, 1 deletion(-) 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;