一个 In 方法 bug ,哥哥啊这个bug卡了我一下午 #1719

Closed
opened 2020-06-20 10:35:35 +00:00 by 344085057 · 2 comments

v1.0.1
sql server

In("字段",[1,2,3])
1在数据库中
2在数据库中
3不在数据库中

只要执行这个 就会一直堵塞

我替换这样 就完美的执行下去了
Where("id in (?)", strings.Join(fshrId, ","))

v1.0.1 sql server In("字段",[1,2,3]) 1在数据库中 2在数据库中 3不在数据库中 只要执行这个 就会一直堵塞 我替换这样 就完美的执行下去了 Where("id in (?)", strings.Join(fshrId, ","))
Owner

I don't think your code will work.

I don't think your code will work.
lunny added the
kind
question
label 2020-07-09 01:53:33 +00:00
Author

这是我的问题 事务导致了堵塞

这是我的问题 事务导致了堵塞
lunny closed this issue 2020-07-09 03:03:47 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xorm/xorm#1719
No description provided.