Fix SA 1116 warnings

This commit is contained in:
Jan-Pieter Baert
2020-10-12 20:05:11 +02:00
parent 6f9beef732
commit ec91d3893d
19 changed files with 96 additions and 48 deletions

View File

@@ -157,7 +157,8 @@ namespace Emby.Server.Implementations.Data
protected bool TableExists(ManagedConnection connection, string name)
{
return connection.RunInTransaction(db =>
return connection.RunInTransaction(
db =>
{
using (var statement = PrepareStatement(db, "select DISTINCT tbl_name from sqlite_master"))
{