Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
krihy committed Sep 7, 2023
1 parent 32d819e commit ef3016c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ public DBFunction executeFunction(DBFunction dbFunction) {
}

protected void acquireNewConnection(ConnectionSession connectionSession,
Supplier<SingleConnectionDataSource> dataSourceSupplier)
throws Exception {
Supplier<SingleConnectionDataSource> dataSourceSupplier) throws Exception {
this.connectionSession = connectionSession;
ConnectionConfig connectionConfig =
(ConnectionConfig) ConnectionSessionUtil.getConnectionConfig(connectionSession);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public DebuggerSession(DebuggeeSession debuggeeSession, StartPLDebugReq req, boo
ddl = req.getAnonymousBlock();
this.syncEnabled = syncEnabled;

// Debugger must connect to the same database host with debuggee
// Debugger must connect to database host the same as debuggee
acquireNewConnection(debuggeeSession.getConnectionSession(),
() -> cloneDataSource(debuggeeSession.getNewDataSource()));
try (Statement stmt = connection.createStatement()) {
Expand Down

0 comments on commit ef3016c

Please sign in to comment.