diff --git a/infoschema/tables.go b/infoschema/tables.go index 8513c48bcb..385c13575c 100644 --- a/infoschema/tables.go +++ b/infoschema/tables.go @@ -381,7 +381,7 @@ var tablesCols = []columnInfo{ {name: "CREATE_TIME", tp: mysql.TypeDatetime, size: 19}, {name: "UPDATE_TIME", tp: mysql.TypeDatetime, size: 19}, {name: "CHECK_TIME", tp: mysql.TypeDatetime, size: 19}, - {name: "TABLE_COLLATION", tp: mysql.TypeVarchar, size: 32, deflt: "utf8_bin"}, + {name: "TABLE_COLLATION", tp: mysql.TypeVarchar, size: 32, deflt: mysql.DefaultCollationName}, {name: "CHECKSUM", tp: mysql.TypeLonglong, size: 21}, {name: "CREATE_OPTIONS", tp: mysql.TypeVarchar, size: 255}, {name: "TABLE_COMMENT", tp: mysql.TypeVarchar, size: 2048},