mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-01 03:30:06 +00:00
update transaction modes
This commit is contained in:
parent
56b24da151
commit
1c52e4f51b
11 changed files with 40 additions and 33 deletions
|
|
@ -85,7 +85,7 @@ namespace Emby.Server.Implementations.Data
|
|||
|
||||
statement.MoveNext();
|
||||
}
|
||||
});
|
||||
}, TransactionMode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -108,7 +108,7 @@ namespace Emby.Server.Implementations.Data
|
|||
statement.TryBind("@ResultId", id.ToGuidParamValue());
|
||||
statement.MoveNext();
|
||||
}
|
||||
});
|
||||
}, TransactionMode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -124,7 +124,7 @@ namespace Emby.Server.Implementations.Data
|
|||
var commandText = "delete from FileOrganizerResults";
|
||||
|
||||
db.Execute(commandText);
|
||||
});
|
||||
}, TransactionMode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue