From: <tho...@us...> - 2014-06-16 16:23:32
|
Revision: 8486 http://sourceforge.net/p/bigdata/code/8486 Author: thompsonbry Date: 2014-06-16 16:23:25 +0000 (Mon, 16 Jun 2014) Log Message: ----------- Correctness: should set success:=true immediately after the commit. Modified Paths: -------------- branches/BIGDATA_RELEASE_1_3_0/bigdata-sails/src/java/com/bigdata/rdf/sail/webapp/InsertServlet.java Modified: branches/BIGDATA_RELEASE_1_3_0/bigdata-sails/src/java/com/bigdata/rdf/sail/webapp/InsertServlet.java =================================================================== --- branches/BIGDATA_RELEASE_1_3_0/bigdata-sails/src/java/com/bigdata/rdf/sail/webapp/InsertServlet.java 2014-06-16 16:22:55 UTC (rev 8485) +++ branches/BIGDATA_RELEASE_1_3_0/bigdata-sails/src/java/com/bigdata/rdf/sail/webapp/InsertServlet.java 2014-06-16 16:23:25 UTC (rev 8486) @@ -315,12 +315,12 @@ // Commit the mutation. conn.commit(); + success = true; + final long elapsed = System.currentTimeMillis() - begin; reportModifiedCount(nmodified.get(), elapsed); - success = true; - return (Void) null; } finally { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |