Skip to content

Commit 4f76e38

Browse files
authored
sql/mysql: suffix oss driver with oss (#3284)
1 parent 2e6aaaf commit 4f76e38

11 files changed

+467
-618
lines changed

sql/mysql/diff.go sql/mysql/diff_oss.go

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// This source code is licensed under the Apache 2.0 license found
33
// in the LICENSE file in the root directory of this source tree.
44

5+
//go:build !ent
6+
57
package mysql
68

79
import (
@@ -723,3 +725,7 @@ func (d *diff) defaultCharset(attrs *[]schema.Attr) error {
723725
}
724726
return nil
725727
}
728+
729+
func (*diff) ViewAttrChanges(_, _ *schema.View) []schema.Change {
730+
return nil // Not implemented.
731+
}

sql/mysql/diff_test.go sql/mysql/diff_oss_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// This source code is licensed under the Apache 2.0 license found
33
// in the LICENSE file in the root directory of this source tree.
44

5+
//go:build !ent
6+
57
package mysql
68

79
import (

0 commit comments

Comments
 (0)