()
| 69 | } |
| 70 | |
| 71 | func (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 | |
| 81 | func (o *OracleDB) CurrentRedoLogSequenceFp() (string, error) { |
| 82 | query := `SELECT GROUP#, THREAD#, SEQUENCE# FROM V$LOG WHERE STATUS = 'CURRENT'` |
no outgoing calls
no test coverage detected