提交 bf0d01ca 编写于 作者: martianzhang's avatar martianzhang

~ git confuse merge cause this commit

上级 0f7485b8
...@@ -140,6 +140,7 @@ func (db *Connector) startSampling(onlineConn *sql.DB, database, table string, w ...@@ -140,6 +140,7 @@ func (db *Connector) startSampling(onlineConn *sql.DB, database, table string, w
values = append(values, fmt.Sprintf(`unhex("%s")`, fmt.Sprintf("%x", val))) values = append(values, fmt.Sprintf(`unhex("%s")`, fmt.Sprintf("%x", val)))
} }
} }
}
valuesStr = append(valuesStr, "("+strings.Join(values, `,`)+")") valuesStr = append(valuesStr, "("+strings.Join(values, `,`)+")")
valuesCount++ valuesCount++
if maxValuesCount <= valuesCount { if maxValuesCount <= valuesCount {
...@@ -152,7 +153,6 @@ func (db *Connector) startSampling(onlineConn *sql.DB, database, table string, w ...@@ -152,7 +153,6 @@ func (db *Connector) startSampling(onlineConn *sql.DB, database, table string, w
valuesCount = 0 valuesCount = 0
} }
} }
}
res.Close() res.Close()
return err return err
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册