add tidb support

This commit is contained in:
Unknwon 2015-09-12 15:31:36 -04:00
parent 10de16beb0
commit aff773f1b9
9 changed files with 44 additions and 12 deletions

View file

@ -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")
}