diff options
author | Unknwon <u@gogs.io> | 2015-09-12 15:31:36 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-12 15:31:36 -0400 |
commit | aff773f1b968b601a02d48cca071c7e96a22ca52 (patch) | |
tree | f31223df35c33b2889d9672ee7d2566a352b11ab /models/models_tidb.go | |
parent | 10de16beb0065a5e96ef58073841da35c017f5dd (diff) | |
download | gitea-aff773f1b968b601a02d48cca071c7e96a22ca52.tar.gz gitea-aff773f1b968b601a02d48cca071c7e96a22ca52.zip |
add tidb support
Diffstat (limited to 'models/models_tidb.go')
-rw-r--r-- | models/models_tidb.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/models/models_tidb.go b/models/models_tidb.go index d99884e9e8..fad25cf007 100644 --- a/models/models_tidb.go +++ b/models/models_tidb.go @@ -8,9 +8,11 @@ package models import ( _ "github.com/go-xorm/tidb" + "github.com/ngaut/log" _ "github.com/pingcap/tidb" ) func init() { EnableTidb = true + log.SetLevelByString("error") } |