mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-03 11:30:28 -05:00
remove comments
This commit is contained in:
@@ -473,18 +473,6 @@ func rowConverter(srcSchema, targetSchema sql.Schema, h hash.Hash, meta *datas.C
|
||||
if srcIdx >= 0 {
|
||||
// only add a conversion if the type is the same
|
||||
// TODO: we could do a projection to convert between types in some cases
|
||||
//sourceType :=
|
||||
//targetType :=
|
||||
//
|
||||
//// enumtypes contain a map, which panics when == opeartor is used
|
||||
//_, srcIsEnum := sourceType.(sql.EnumType)
|
||||
//_, tarIsEnum := targetType.(sql.EnumType)
|
||||
//if srcIsEnum && tarIsEnum {
|
||||
// srcToTarget[srcIdx] = i
|
||||
//} else if sourceType == targetType {
|
||||
// srcToTarget[srcIdx] = i
|
||||
//}
|
||||
|
||||
if srcSchema[srcIdx].Type.Equals(targetSchema[i].Type) {
|
||||
srcToTarget[srcIdx] = i
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user