Fix bug for mssql (#1854)

Reviewed-on: https://gitea.com/xorm/xorm/pulls/1854
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
Lunny Xiao 2021-01-21 15:08:48 +08:00
parent c442c5a9a8
commit 6f4b2fd80e
1 changed files with 2 additions and 0 deletions

View File

@ -220,6 +220,8 @@ type mssql struct {
func (db *mssql) Init(uri *URI) error {
db.quoter = mssqlQuoter
db.defaultChar = "CHAR"
db.defaultVarchar = "VARCHAR"
return db.Base.Init(db, uri)
}