activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r496976 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/MySqlJDBCAdapter.java
Date Wed, 17 Jan 2007 09:37:37 GMT
Author: jstrachan
Date: Wed Jan 17 01:37:36 2007
New Revision: 496976

URL: http://svn.apache.org/viewvc?view=rev&rev=496976
Log:
fix for AMQ-1130 to use LONGBLOB rather than BLOB for persisting on mysql to avoid the 64k
limit

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

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/MySqlJDBCAdapter.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/MySqlJDBCAdapter.java?view=diff&rev=496976&r1=496975&r2=496976
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/MySqlJDBCAdapter.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/MySqlJDBCAdapter.java
Wed Jan 17 01:37:36 2007
@@ -27,6 +27,7 @@
 
     public void setStatements(Statements statements) {
         statements.setLockCreateStatement("LOCK TABLE " + statements.getFullLockTableName()
+ " WRITE");
+        statements.setBinaryDataType("LONGBLOB");
         super.setStatements(statements);
     }    
 }



Mime
View raw message