mysql.drvicer Busy buffer error,一个比较Ugly的bug,但是一般情况下不会触发 #993
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#993
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?
本人在修改,准备在xorm增加一层Conn,单个session固定底层db Conn,但是在修改跑测试用例出现了标题上的bug,test case是xorm/tag_extends_test.go:59 TestExtends,只有用到Extend属性才会碰到.
问题代码, 问题在Find方法上,一个简单联合查询出现了两条语句,第二条执行时第一条还没resetSesion,以前之所以没出现问题是因为golang database/sql底层的连接混乱管理机制,具体参见这个Issue https://github.com/go-xorm/xorm/issues/944
xorm代码
补充下底层driver报错特征 github.com/go-sql-driver/mysql:
当然,我基本不用这个特性,今天碰到了,特地反馈下。