File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1278,10 +1278,10 @@ var InsertScripts = []ScriptTest{
12781278 },
12791279 },
12801280 {
1281- Name : "sql_mode=NO_AUTO_VALUE_ON_ZERO " ,
1281+ Name : "sql_mode=NO_auto_value_ON_ZERO " ,
12821282 SetUpScript : []string {
12831283 "set @old_sql_mode=@@sql_mode;" ,
1284- "set @@sql_mode='NO_AUTO_VALUE_ON_ZERO ';" ,
1284+ "set @@sql_mode='NO_auto_value_ON_ZERO ';" ,
12851285 "create table auto (i int auto_increment, index (i));" ,
12861286 "create table auto_pk (i int auto_increment primary key);" ,
12871287 },
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ var _ sql.CollationCoercible = systemSetType{}
3535
3636// NewSystemSetType returns a new systemSetType.
3737func NewSystemSetType (varName string , values ... string ) sql.SystemVariableType {
38- return systemSetType {MustCreateSetType (values , sql .Collation_Default ), varName }
38+ return systemSetType {MustCreateSetType (values , sql .Collation_ascii_general_ci ), varName }
3939}
4040
4141// Compare implements Type interface.
You can’t perform that action at this time.
0 commit comments