diff --git a/ddl/ddl_api.go b/ddl/ddl_api.go index 1d19dc944ebbd..2cfd3f524a29f 100644 --- a/ddl/ddl_api.go +++ b/ddl/ddl_api.go @@ -2225,7 +2225,7 @@ func handleTableOptions(options []*ast.TableOption, tbInfo *model.TableInfo) err // We don't handle charset and collate here since they're handled in `getCharsetAndCollateInTableOption`. case ast.TableOptionEngine: if tbInfo.TempTableType != model.TempTableNone { - if op.StrValue != "" && !strings.EqualFold(op.StrValue, "memory") && !strings.EqualFold(op.StrValue, "innodb") { + if op.StrValue != "" && !strings.EqualFold(op.StrValue, "memory") { return errors.Trace(errUnsupportedEngineTemporary) } }