Skip to content

Commit

Permalink
Merge pull request #1721 from actiontech/fix-issue1718-1
Browse files Browse the repository at this point in the history
fix issue 1718
  • Loading branch information
ColdWaterLW authored Aug 3, 2023
2 parents 9007daa + 582accb commit 14ab634
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sqle/driver/mysql/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,10 @@ func (i *MysqlDriverImpl) GetConn() *executor.Executor {
return i.dbConn
}

func (i *MysqlDriverImpl) GetDSN() *driverV2.DSN {
return i.inst
}

// closeDbConn close db conn and just close once.
func (i *MysqlDriverImpl) closeDbConn() {
if i.isConnected {
Expand Down

0 comments on commit 14ab634

Please sign in to comment.