1
0
Fork 0
forked from External/ergo

miscellaneous review fixes

This commit is contained in:
Shivaram Lingamneni 2020-02-20 01:45:17 -05:00
parent 82732d5b5d
commit 8f4c14c783
4 changed files with 14 additions and 8 deletions

View file

@ -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(')')