summaryrefslogtreecommitdiff
path: root/storage/example
diff options
context:
space:
mode:
Diffstat (limited to 'storage/example')
-rw-r--r--storage/example/ha_example.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/example/ha_example.cc b/storage/example/ha_example.cc
index 657f5cb9d01..c83139b786f 100644
--- a/storage/example/ha_example.cc
+++ b/storage/example/ha_example.cc
@@ -928,7 +928,7 @@ ha_example::check_if_supported_inplace_alter(TABLE* altered_table,
HA_CREATE_INFO *info= ha_alter_info->create_info;
DBUG_ENTER("ha_example::check_if_supported_inplace_alter");
- if (ha_alter_info->handler_flags & Alter_inplace_info::CHANGE_CREATE_OPTION)
+ if (ha_alter_info->handler_flags & ALTER_CHANGE_CREATE_OPTION)
{
/*
This example shows how custom engine specific table and field
@@ -964,7 +964,7 @@ ha_example::check_if_supported_inplace_alter(TABLE* altered_table,
}
}
- if (ha_alter_info->handler_flags & Alter_inplace_info::ALTER_COLUMN_OPTION)
+ if (ha_alter_info->handler_flags & ALTER_COLUMN_OPTION)
{
for (uint i= 0; i < table->s->fields; i++)
{