mirror of https://github.com/gogits/gogs.git
Browse Source
Ensure that the IN clause contains one value at least. The idea is avoid a syntax error in the SQL sentence and rollbacks in the transactions. For example: ERROR: syntax error at or near ")" LINE 1: ...RE ... and team.id IN (); We will always add the -1 value in the IN list.pull/4517/merge
Pablo Saavedra
8 years ago
committed by
无闻
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue