Partially enable MSSQL case-sensitive collation support (#29238)
Follow #28662 (cherry picked from commit 29a8c8de779924694fadad80b31cc855dd62c0f2)
This commit is contained in:
parent
53f6f62ad4
commit
abb0294996
5 changed files with 17 additions and 24 deletions
|
@ -49,12 +49,6 @@ func TestDatabaseCollationSelfCheckUI(t *testing.T) {
|
|||
func TestDatabaseCollation(t *testing.T) {
|
||||
x := db.GetEngine(db.DefaultContext).(*xorm.Engine)
|
||||
|
||||
// there are blockers for MSSQL to use case-sensitive collation, see the comments in db/collation.go
|
||||
if setting.Database.Type.IsMSSQL() {
|
||||
t.Skip("there are blockers for MSSQL to use case-sensitive collation")
|
||||
return
|
||||
}
|
||||
|
||||
// all created tables should use case-sensitive collation by default
|
||||
_, _ = x.Exec("DROP TABLE IF EXISTS test_collation_tbl")
|
||||
err := x.Sync(&TestCollationTbl{})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue