test
This commit is contained in:
parent
96bf2b8de7
commit
d3e09278a7
4
job.go
4
job.go
@ -21,9 +21,9 @@ func jobRescan(j Job) {
|
||||
for i := 1; i <= (len(ids)/SQLMsgRescanJobSize)+1; i++ {
|
||||
var s string
|
||||
for _, id := range ids[((i - 1) * SQLMsgRescanJobSize):(i*SQLMsgRescanJobSize - 1)] {
|
||||
s = s + fmp.Sprintf("SELECT %d id FROM DUAL UNION\n", id)
|
||||
s = s + fmt.Sprintf("SELECT %d id FROM DUAL UNION\n", id)
|
||||
}
|
||||
s = s + fmp.Sprintf("SELECT 0 id FROM DUAL WHERE 1 = 2;", id)
|
||||
s = s + `SELECT 0 id FROM DUAL WHERE 1 = 2;`
|
||||
p := JobPayloadRescanMsg{
|
||||
Query: s,
|
||||
MsgID64: 0,
|
||||
|
Loading…
Reference in New Issue
Block a user