MCPcopy Create free account
hub / github.com/actiontech/dtle / Close

Method Close

driver/oracle/config/db_config.go:71–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69}
70
71func (o *OracleDB) Close() error {
72 if o.MetaDataConn != nil {
73 o.MetaDataConn.Close()
74 }
75 if o.LogMinerConn != nil {
76 o.LogMinerConn.Close()
77 }
78 return o._db.Close()
79}
80
81func (o *OracleDB) CurrentRedoLogSequenceFp() (string, error) {
82 query := `SELECT GROUP#, THREAD#, SEQUENCE# FROM V$LOG WHERE STATUS = 'CURRENT'`

Callers 8

GetLogFileBySCNMethod · 0.45
GetLogMinerRecordMethod · 0.45
QueryFunction · 0.45
ShutdownMethod · 0.45
GetTablesMethod · 0.45
GetSchemasMethod · 0.45
GetColumnsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected