activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r818936 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/DefaultJDBCAdapter.java
Date Fri, 25 Sep 2009 18:10:12 GMT
Author: chirino
Date: Fri Sep 25 18:10:12 2009
New Revision: 818936

URL: http://svn.apache.org/viewvc?rev=818936&view=rev
Log:
AMQ-2414: Fixing the failing create tables problem on MySQL cluster.


Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/DefaultJDBCAdapter.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/DefaultJDBCAdapter.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/DefaultJDBCAdapter.java?rev=818936&r1=818935&r2=818936&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/DefaultJDBCAdapter.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/DefaultJDBCAdapter.java
Fri Sep 25 18:10:12 2009
@@ -103,8 +103,8 @@
                         JDBCPersistenceAdapter.log("Failure details: ", e);
                     }
                 }
+                c.getConnection().commit();
             }
-            c.getConnection().commit();
         } finally {
             try {
                 s.close();



Mime
View raw message