diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-03-08 11:19:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-08 03:19:35 +0000 |
commit | 29a8c8de779924694fadad80b31cc855dd62c0f2 (patch) | |
tree | 35ab4131831ee31556c5afc66c2ee56f44c80fa2 /tests | |
parent | 26653b196bd1d15c532af41f60351596dd4330bd (diff) | |
download | gitea-29a8c8de779924694fadad80b31cc855dd62c0f2.tar.gz gitea-29a8c8de779924694fadad80b31cc855dd62c0f2.zip |
Partially enable MSSQL case-sensitive collation support (#29238)
Follow #28662
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/db_collation_test.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/integration/db_collation_test.go b/tests/integration/db_collation_test.go index 468d13508d..75a4c1594f 100644 --- a/tests/integration/db_collation_test.go +++ b/tests/integration/db_collation_test.go @@ -22,12 +22,6 @@ type TestCollationTbl struct { 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{}) |