[dbwrappers] Detect incorrect transaction usage
commit8cc641479983af3ad67f39891ea37cc8f17ee021
authorCrystalP <crystalp@kodi.tv>
Wed, 30 Oct 2024 13:24:01 +0000 (30 09:24 -0400)
committerCrystalP <crystalp@kodi.tv>
Wed, 30 Oct 2024 13:40:18 +0000 (30 09:40 -0400)
tree93181d5194807470d8e404620b0d24f37195df1a
parent6614e36c4095fd129f433aa385562eb9906dff9b
[dbwrappers] Detect incorrect transaction usage

- nesting is not supported
- a transaction must have been started before a commit or rollback
xbmc/dbwrappers/mysqldataset.cpp
xbmc/dbwrappers/sqlitedataset.cpp