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:
parent
f3d2f4af01
commit
10922a194c
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue