aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data/BaseSqliteRepository.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2023-04-14 00:11:13 +0200
committerGitHub <noreply@github.com>2023-04-14 00:11:13 +0200
commitc2b88f1852b16c2dde69b13c89feb34f78268057 (patch)
tree97c5ce8e31479bb11edd9f42b4ccf15ebdac307f /Emby.Server.Implementations/Data/BaseSqliteRepository.cs
parent39af7f668c4ec2c283b063f71550baebb5454d3f (diff)
parentb69abd4d7dfdbdaa62b5c7e12aa36bfdc9e15774 (diff)
Merge pull request #9635 from Bond-009/sql
Diffstat (limited to 'Emby.Server.Implementations/Data/BaseSqliteRepository.cs')
-rw-r--r--Emby.Server.Implementations/Data/BaseSqliteRepository.cs12
1 files changed, 0 insertions, 12 deletions
diff --git a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs
index 47706a440..bc520b86e 100644
--- a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs
+++ b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs
@@ -166,18 +166,6 @@ namespace Emby.Server.Implementations.Data
public IStatement PrepareStatement(IDatabaseConnection connection, string sql)
=> connection.PrepareStatement(sql);
- public IStatement[] PrepareAll(IDatabaseConnection connection, IReadOnlyList<string> sql)
- {
- int len = sql.Count;
- IStatement[] statements = new IStatement[len];
- for (int i = 0; i < len; i++)
- {
- statements[i] = connection.PrepareStatement(sql[i]);
- }
-
- return statements;
- }
-
protected bool TableExists(ManagedConnection connection, string name)
{
return connection.RunInTransaction(