forked from gitea/gitea
1
0
Fork 0

#1569 force InnoDB for MySQL

This commit is contained in:
Unknwon 2015-09-03 05:05:58 -04:00
parent a7ee654646
commit b1f0f85789
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ func NewTestEngine(x *xorm.Engine) (err error) {
} }
x.SetMapper(core.GonicMapper{}) x.SetMapper(core.GonicMapper{})
return x.Sync(tables...) return x.StoreEngine("InnoDB").Sync2(tables...)
} }
func SetEngine() (err error) { func SetEngine() (err error) {