Added a way to disable compatibility mode message
This commit is contained in:
parent
7180bd0f27
commit
6840622c8d
@ -66,7 +66,11 @@ func newDialect(name string, db SQLCommon) Dialect {
|
||||
return dialect
|
||||
}
|
||||
|
||||
if CompatibilityWarning {
|
||||
|
||||
fmt.Printf("`%v` is not officially supported, running under compatibility mode.\n", name)
|
||||
|
||||
}
|
||||
commontDialect := &commonDialect{}
|
||||
commontDialect.SetDB(db)
|
||||
return commontDialect
|
||||
|
Loading…
x
Reference in New Issue
Block a user