Remove extraneous cache fill per row

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18159


(cherry picked from commit 64da49f22e)

Co-authored-by: Jon Evans <jon@craftyjon.com>
This commit is contained in:
Jon Evans 2024-06-05 16:08:45 +00:00
parent f3d2f4af01
commit 10922a194c
1 changed files with 0 additions and 1 deletions

View File

@ -627,7 +627,6 @@ bool DATABASE_CONNECTION::selectAllAndCache( const std::string& aTable, const st
} }
} }
m_cache->Put( aTable, cacheEntry );
wxASSERT( result.count( aKey ) ); wxASSERT( result.count( aKey ) );
std::string keyStr = std::any_cast<std::string>( result.at( aKey ) ); std::string keyStr = std::any_cast<std::string>( result.at( aKey ) );
cacheEntry[keyStr] = result; cacheEntry[keyStr] = result;