limit和QueryString一起使用的一个问题 #1735
Labels
No Label
backport/done
backport/v1
blocked
db
oracle
db
sqlserver
duplicate
feature
cache
frontport/done
frontport/main
invalid
kind
breaking
kind
bug
kind
build
kind
dependencies
kind
docs
kind
driver
kind
enhancement
kind
feature
kind
performance
kind
proposal
kind
question
kind
refactor
kind
testing
need
feedback
need
test
proposal:accepted
RaspBerry Pi
regression
skip-changelog
upstream
wip
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xorm/xorm#1735
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
invalid memory address or nil pointer dereferenceto limit和QueryString一起使用的一个问题这样的话 正常
dataArr, err := engine.Table("View_rszl").Limit(20,0).QueryString()
sql server
xorm 1.0.2
Could you paste generated SQL ?
没有输出sql日志
2020/07/08 20:02:31.409 [C] [panic.go:969] Handler crashed with error runtime error: invalid memory address or nil pointer dereference
2020/07/08 20:02:31.409 [C] [panic.go:969] C:/Go/src/runtime/panic.go:969
2020/07/08 20:02:31.409 [C] [panic.go:969] C:/Go/src/runtime/panic.go:212
2020/07/08 20:02:31.409 [C] [panic.go:969] C:/Go/src/runtime/signal_windows.go:246
2020/07/08 20:02:31.409 [C] [panic.go:969] C:/Users/admin/go/pkg/mod/xorm.io/xorm@v1.0.2/schemas/table.go:91
2020/07/08 20:02:31.409 [C] [panic.go:969] C:/Users/admin/go/pkg/mod/xorm.io/xorm@v1.0.2/internal/statements/query.go:234
2020/07/08 20:02:31.409 [C] [panic.go:969] C:/Users/admin/go/pkg/mod/xorm.io/xorm@v1.0.2/internal/statements/query.go:429
2020/07/08 20:02:31.409 [C] [panic.go:969] C:/Users/admin/go/pkg/mod/xorm.io/xorm@v1.0.2/session_find.go:139
2020/07/08 20:02:31.409 [C] [panic.go:969] C:/Users/admin/go/pkg/mod/xorm.io/xorm@v1.0.2/session_find.go:31
太坏了 1.0.4
This is a MSSQL specific problem.
This will not be supported with sqlserver.