summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/handler.h b/sql/handler.h
index 316f7d3c796..0fa492a2a6f 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -2496,11 +2496,14 @@ public:
*/
const char *unsupported_reason;
+ /** true when InnoDB should abort the alter when table is not empty */
+ bool error_if_not_empty;
+
Alter_inplace_info(HA_CREATE_INFO *create_info_arg,
Alter_info *alter_info_arg,
KEY *key_info_arg, uint key_count_arg,
partition_info *modified_part_info_arg,
- bool ignore_arg);
+ bool ignore_arg, bool error_non_empty);
~Alter_inplace_info()
{