mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@389258 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4d98e83184
commit
28316bb0bb
|
@ -296,7 +296,7 @@ public class DefaultJDBCAdapter implements JDBCAdapter {
|
||||||
|
|
||||||
public void doRemoveMessage(TransactionContext c, long seq) throws SQLException, IOException {
|
public void doRemoveMessage(TransactionContext c, long seq) throws SQLException, IOException {
|
||||||
|
|
||||||
PreparedStatement s = c.getAddMessageStatement();
|
PreparedStatement s = c.getRemovedMessageStatement();
|
||||||
try {
|
try {
|
||||||
if( s == null ) {
|
if( s == null ) {
|
||||||
s = c.getConnection().prepareStatement(statements.getRemoveMessageStatment());
|
s = c.getConnection().prepareStatement(statements.getRemoveMessageStatment());
|
||||||
|
|
Loading…
Reference in New Issue