Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding explicit db commit on update

  • Loading branch information...
commit 1fe8ec2a800ea8e253515f1b0ecd41212da17667 1 parent 7c3d9d0
BuzzTroll authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  authzdb/src/org/nimbus/authz/AuthzDBAdapter.java
View
2  authzdb/src/org/nimbus/authz/AuthzDBAdapter.java
@@ -523,6 +523,7 @@ public int newFile(
{
throw new AuthzDBException("did not insert the row properly");
}
+ c.commit();
}
return fileId;
}
@@ -694,6 +695,7 @@ public void setFileSize(
{
throw new AuthzDBException("did not insert the row properly");
}
+ c.commit();
}
catch(SQLException e)
{
Please sign in to comment.
Something went wrong with that request. Please try again.