chore: replace all cn comments to en version by volc api (#313)

This commit is contained in:
tecvan
2025-07-31 15:18:11 +08:00
committed by GitHub
parent 91d6cdb430
commit 5abc63fba6
254 changed files with 5899 additions and 5844 deletions

View File

@@ -550,7 +550,7 @@ func (m *mysqlService) UpsertData(ctx context.Context, req *rdb.UpsertDataReques
}
}
// ON DUPLICATE KEY UPDATE部分
// ON DUPLICATE KEY UPDATE PART
updateClauses := make([]string, 0, len(fields))
for _, field := range fields {
isKey := false
@@ -622,7 +622,7 @@ func (m *mysqlService) getTablePrimaryKeys(ctx context.Context, tableName string
return primaryKeys, nil
}
// calculateInsertedUpdated 函数保持不变
// calculateInsertedUpdated function remains unchanged
func calculateInsertedUpdated(affectedRows int64, batchSize int) (int64, int64, int64) {
updated := int64(0)
inserted := affectedRows