diff options
Diffstat (limited to 'sql/ha_heap.cc')
-rw-r--r-- | sql/ha_heap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_heap.cc b/sql/ha_heap.cc index 24f21718b8c..de51fad4365 100644 --- a/sql/ha_heap.cc +++ b/sql/ha_heap.cc @@ -523,7 +523,7 @@ int ha_heap::create(const char *name, TABLE *table_arg, } if (field->flags & AUTO_INCREMENT_FLAG && table_arg->found_next_number_field && - key == table_arg->next_number_index) + key == share->next_number_index) { /* Store key number and type for found auto_increment key |