Repository navigation
Commit d732729
committed
db: parenthesize subquery in CleanInactiveUsers
The "id NOT IN ?" placeholder expands the bun subquery without any
surrounding parentheses, so the generated statement reads "id NOT IN
SELECT ..." which SQLite rejects with a syntax error. As a result
"pw admin gc" always fails while cleaning inactive users. Wrap the
placeholder in parentheses so the subquery is valid.
Signed-off-by: Robin Jarry <robin@jarry.cc>1 parent e917f2c commit d732729
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments