[texturedb] Add DB transaction when caching a texture
commit75aed983def45586a18923eaf0f353f2e6fb425c
authorCrystalP <crystalp@kodi.tv>
Sat, 26 Oct 2024 08:47:59 +0000 (26 04:47 -0400)
committerCrystalP <crystalp@kodi.tv>
Sat, 26 Oct 2024 16:01:21 +0000 (26 12:01 -0400)
treecd8befe4e471641979dfe2f5419e11ca4ec031ff
parent7ebad49ad41ee7e298c1b39db52957811b96902a
[texturedb] Add DB transaction when caching a texture

Needed for data integrity and 2x speedup with sqlite due to less single statement implicit transactions.
xbmc/TextureDatabase.cpp