mirror of https://github.com/apache/activemq.git
fix for AMQ-1130 to use LONGBLOB rather than BLOB for persisting on mysql to avoid the 64k limit
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@496976 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f490982c38
commit
6e26195cd8
|
@ -27,6 +27,7 @@ public class MySqlJDBCAdapter extends DefaultJDBCAdapter {
|
|||
|
||||
public void setStatements(Statements statements) {
|
||||
statements.setLockCreateStatement("LOCK TABLE " + statements.getFullLockTableName() + " WRITE");
|
||||
statements.setBinaryDataType("LONGBLOB");
|
||||
super.setStatements(statements);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue