Skip sqlserver

This commit is contained in:
Lunny Xiao 2021-07-21 20:27:14 +08:00
parent 451f81287a
commit 5ee04f5378
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 5 additions and 0 deletions

View File

@ -400,6 +400,11 @@ func TestJoinWithSubQuery(t *testing.T) {
func TestQueryStringWithLimit(t *testing.T) { func TestQueryStringWithLimit(t *testing.T) {
assert.NoError(t, PrepareEngine()) assert.NoError(t, PrepareEngine())
if testEngine.Dialect().URI().DBType == schemas.MSSQL {
t.SkipNow()
return
}
type QueryWithLimit struct { type QueryWithLimit struct {
Id int64 `xorm:"autoincr pk"` Id int64 `xorm:"autoincr pk"`
Msg string `xorm:"varchar(255)"` Msg string `xorm:"varchar(255)"`