diff --git a/model/model.go b/model/model.go index 96d552520..ddb7a16ad 100644 --- a/model/model.go +++ b/model/model.go @@ -326,6 +326,9 @@ type TableInfo struct { // IsColumnar means the table is column-oriented. // It's true when the engine of the table is TiFlash only. IsColumnar bool `json:"is_columnar"` + + // Can't insert when table 'add column date/datetime not null' during ddl in NO_ZERO_DATE. + CannotInsertFlag bool `can_not_insert_flag` } // TableLockInfo provides meta data describing a table lock.