Browse Source

add SetCurrentDBType

topic
yedf2 5 years ago
parent
commit
194ae928d4
  1. 5
      dtmgrpc/type.go

5
dtmgrpc/type.go

@ -94,3 +94,8 @@ func Result2Error(res interface{}, err error) error {
} }
return e return e
} }
// SetCurrentDBType set the current db type
func SetCurrentDBType(dbType string) {
dtmcli.SetCurrentDBType(dbType)
}

Loading…
Cancel
Save