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

Method selectSqlMode

driver/mysql/extractor.go:827–833  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

825}
826
827func (e *Extractor) selectSqlMode() error {
828 query := `select @@sql_mode`
829 if err := e.db.QueryRow(query).Scan(&e.sqlMode); err != nil {
830 return err
831 }
832 return nil
833}
834
835func (e *Extractor) setInitialBinlogCoordinates() error {
836 if e.mysqlContext.Gtid != "" {

Callers 1

sendSysVarAndSqlModeMethod · 0.95

Calls 1

ScanMethod · 0.80

Tested by

no test coverage detected