summaryrefslogtreecommitdiff
path: root/sql/ha_heap.cc
diff options
context:
space:
mode:
authorunknown <ramil@mysql.com>2005-03-15 19:43:32 +0400
committerunknown <ramil@mysql.com>2005-03-15 19:43:32 +0400
commit7e7437216b20e0f9c272e7b3386b4060977ecc8a (patch)
treefa75b8dc47c74cac7a98a0ba08e2956c42ff2655 /sql/ha_heap.cc
parent3c42daa9a371e7900f10d2bfb2cf20e46cfba122 (diff)
downloadmariadb-git-7e7437216b20e0f9c272e7b3386b4060977ecc8a.tar.gz
after merge fix
Diffstat (limited to 'sql/ha_heap.cc')
-rw-r--r--sql/ha_heap.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_heap.cc b/sql/ha_heap.cc
index 28a7b5529c9..c8d0e5c1c18 100644
--- a/sql/ha_heap.cc
+++ b/sql/ha_heap.cc
@@ -531,8 +531,8 @@ int ha_heap::create(const char *name, TABLE *table_arg,
mem_per_row);
if (table_arg->found_next_number_field)
{
- keydef[table_arg->next_number_index].flag|= HA_AUTO_KEY;
- found_real_auto_increment= table_arg->next_number_key_offset == 0;
+ keydef[share->next_number_index].flag|= HA_AUTO_KEY;
+ found_real_auto_increment= share->next_number_key_offset == 0;
}
HP_CREATE_INFO hp_create_info;
hp_create_info.auto_key_type= auto_key_type;