diff --git a/go/vt/schemadiff/schema.go b/go/vt/schemadiff/schema.go index 034b784ffb5..7b5559b3880 100644 --- a/go/vt/schemadiff/schema.go +++ b/go/vt/schemadiff/schema.go @@ -1088,8 +1088,8 @@ func (s *Schema) getViewColumnNames(v *CreateViewEntity, schemaInformation *decl for _, entityName := range dependentNames { if schemaInformation.Tables[entityName] != nil { // is nil for dual/DUAL for _, col := range schemaInformation.Tables[entityName].Columns { - name := sqlparser.Clone(&col.Name) - columnNames = append(columnNames, name) + name := sqlparser.Clone(col.Name) + columnNames = append(columnNames, &name) } } }