无闻给的例程为何会出错? #1241
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
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xorm/xorm#1241
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?
例程地址:https://github.com/Unknwon/go-rock-libraries-showcases/tree/master/lectures/02-xorm
bug重现:
1,新增一个余额100的用户
2,取款100时,显示余额为0,正确
3,再次查询该用户,余额重新变成100
Please enter number of operation:
1
Please enter :
Myname 100
New account has been created
Please enter number of operation:
2
Please enter :
2
&main.Account{Id:2, Name:"Myname", Balance:100, Version:1}
Please enter number of operation:
4
Please enter :
2 100
&main.Account{Id:2, Name:"Myname", Balance:0, Version:2}
Please enter number of operation:
2
Please enter :
2
&main.Account{Id:2, Name:"Myname", Balance:100, Version:2}
兄弟给个例子说明吧
我写了复现方法了呀
是不是重复加载程序了呢?