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
|
return dialect
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Printf("`%v` is not officially supported, running under compatibility mode.\n", name)
|
if CompatibilityWarning {
|
||||||
|
|
||||||
|
fmt.Printf("`%v` is not officially supported, running under compatibility mode.\n", name)
|
||||||
|
|
||||||
|
}
|
||||||
commontDialect := &commonDialect{}
|
commontDialect := &commonDialect{}
|
||||||
commontDialect.SetDB(db)
|
commontDialect.SetDB(db)
|
||||||
return commontDialect
|
return commontDialect
|
||||||
|
Loading…
x
Reference in New Issue
Block a user