mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
merge
This commit is contained in:
@@ -18,10 +18,6 @@ package com.alibaba.druid.mock;
|
||||
import java.sql.Connection;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
import java.sql.SQLFeatureNotSupportedException;
|
||||
>>>>>>> branch 'master' of https://wenshao@github.com/AlibabaTech/druid.git
|
||||
import java.sql.Statement;
|
||||
|
||||
import com.alibaba.druid.common.jdbc.StatementBase;
|
||||
@@ -31,11 +27,6 @@ public class MockStatement extends StatementBase implements Statement {
|
||||
public final static String ERROR_SQL = "THROW ERROR";
|
||||
|
||||
protected MockConnection mockConnection;
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
|
||||
private int updateCount;
|
||||
>>>>>>> branch 'master' of https://wenshao@github.com/AlibabaTech/druid.git
|
||||
|
||||
public MockStatement(Connection connection){
|
||||
super(connection);
|
||||
@@ -87,19 +78,6 @@ public class MockStatement extends StatementBase implements Statement {
|
||||
}
|
||||
|
||||
@Override
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
public void close() throws SQLException {
|
||||
this.closed = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cancel() throws SQLException {
|
||||
checkOpen();
|
||||
}
|
||||
|
||||
@Override
|
||||
>>>>>>> branch 'master' of https://wenshao@github.com/AlibabaTech/druid.git
|
||||
public boolean execute(String sql) throws SQLException {
|
||||
checkOpen();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user