projects
/
pithos-ms-client
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1fa1d2
)
Wrapped troublesome updates at StoreInfoDirect in a transaction
author
pkanavos
<pkanavos@gmail.com>
Mon, 2 Jul 2012 07:36:44 +0000
(10:36 +0300)
committer
pkanavos
<pkanavos@gmail.com>
Mon, 2 Jul 2012 07:36:44 +0000
(10:36 +0300)
trunk/Pithos.Core/Agents/StatusAgent.cs
patch
|
blob
|
history
diff --git
a/trunk/Pithos.Core/Agents/StatusAgent.cs
b/trunk/Pithos.Core/Agents/StatusAgent.cs
index
4daaadc
..
89d7e13
100644
(file)
--- a/
trunk/Pithos.Core/Agents/StatusAgent.cs
+++ b/
trunk/Pithos.Core/Agents/StatusAgent.cs
@@
-674,6
+674,7
@@
namespace Pithos.Core.Agents
{
using (var connection = GetConnection())
+ using(var tx=connection.BeginTransaction())
using (var command = new SQLiteCommand(connection))
{
//If the ID exists, update the status