support truncate fk parent table while foreign_key_checks is off
This commit is contained in:
@ -1461,7 +1461,8 @@ public:
|
||||
database_name_(),
|
||||
table_name_(),
|
||||
is_add_to_scheduler_(false),
|
||||
compat_mode_(lib::Worker::CompatMode::INVALID)
|
||||
compat_mode_(lib::Worker::CompatMode::INVALID),
|
||||
foreign_key_checks_(false)
|
||||
{}
|
||||
|
||||
ObTruncateTableArg &operator=(const ObTruncateTableArg &other) = delete;
|
||||
@ -1475,6 +1476,7 @@ public:
|
||||
common::ObString table_name_;
|
||||
bool is_add_to_scheduler_;
|
||||
lib::Worker::CompatMode compat_mode_;
|
||||
bool foreign_key_checks_;
|
||||
};
|
||||
|
||||
struct ObRenameTableItem
|
||||
|
||||
Reference in New Issue
Block a user