summaryrefslogtreecommitdiffstats
path: root/models/models_tidb.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-12 15:31:36 -0400
committerUnknwon <u@gogs.io>2015-09-12 15:31:36 -0400
commitaff773f1b968b601a02d48cca071c7e96a22ca52 (patch)
treef31223df35c33b2889d9672ee7d2566a352b11ab /models/models_tidb.go
parent10de16beb0065a5e96ef58073841da35c017f5dd (diff)
downloadgitea-aff773f1b968b601a02d48cca071c7e96a22ca52.tar.gz
gitea-aff773f1b968b601a02d48cca071c7e96a22ca52.zip
add tidb support
Diffstat (limited to 'models/models_tidb.go')
-rw-r--r--models/models_tidb.go2
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")
}