提交 c5cf9ba5 编写于 作者: A Alexander Fedorov

#2556 PostgreDebugSessionWorker -> DBGWorker

上级 95526c82
......@@ -16,22 +16,20 @@
* limitations under the License.
*/
package org.jkiss.dbeaver.ext.postgresql.debug.internal.impl;
package org.jkiss.dbeaver.debug;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.concurrent.Callable;
import org.jkiss.dbeaver.debug.DBGEvent;
public class PostgreDebugSessionWorker implements Callable<DBGEvent> {
public class DBGWorker implements Callable<DBGEvent> {
private final Connection conn;
private final String sql;
private final DBGEvent event;
public PostgreDebugSessionWorker(Connection conn, String sqlCommand, DBGEvent event)
public DBGWorker(Connection conn, String sqlCommand, DBGEvent event)
{
this.conn = conn;
this.sql = sqlCommand;
......
......@@ -41,6 +41,7 @@ import org.jkiss.dbeaver.debug.DBGSession;
import org.jkiss.dbeaver.debug.DBGSessionInfo;
import org.jkiss.dbeaver.debug.DBGStackFrame;
import org.jkiss.dbeaver.debug.DBGVariable;
import org.jkiss.dbeaver.debug.DBGWorker;
import org.jkiss.dbeaver.model.exec.DBCExecutionContext;
import org.jkiss.dbeaver.model.impl.jdbc.JDBCExecutionContext;
import org.jkiss.dbeaver.model.runtime.VoidProgressMonitor;
......@@ -512,7 +513,7 @@ public class PostgreDebugSession extends DBGBaseSession {
connection.setAutoCommit(false);
PostgreDebugSessionWorker worker = new PostgreDebugSessionWorker(connection, commandSQL, event);
DBGWorker worker = new DBGWorker(connection, commandSQL, event);
task = new FutureTask<DBGEvent>(worker);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册