mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
miscellaneous review fixes
This commit is contained in:
parent
82732d5b5d
commit
8f4c14c783
4 changed files with 14 additions and 8 deletions
|
|
@ -5,7 +5,6 @@ import (
|
|||
"database/sql"
|
||||
"fmt"
|
||||
"runtime/debug"
|
||||
"strconv"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
|
|
@ -197,7 +196,7 @@ func (mysql *MySQL) doCleanup(age time.Duration) (count int, err error) {
|
|||
if i != 0 {
|
||||
inBuf.WriteRune(',')
|
||||
}
|
||||
inBuf.WriteString(strconv.FormatInt(int64(id), 10))
|
||||
fmt.Fprintf(&inBuf, "%d", id)
|
||||
}
|
||||
inBuf.WriteRune(')')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue