summaryrefslogtreecommitdiff
path: root/sql/ha_heap.cc
diff options
context:
space:
mode:
authorunknown <gluh@gluh.mysql.r18.ru>2005-03-17 18:44:24 +0300
committerunknown <gluh@gluh.mysql.r18.ru>2005-03-17 18:44:24 +0300
commit0c0a2d5590571b43f0eb300c984c600d4996b91c (patch)
tree81b72c5a0cb29ee0d9693fe042239f0720aeb59e /sql/ha_heap.cc
parent17791f95002b2f9c8cb31eed64c36f019b2edda9 (diff)
downloadmariadb-git-0c0a2d5590571b43f0eb300c984c600d4996b91c.tar.gz
after merge fix
Diffstat (limited to 'sql/ha_heap.cc')
-rw-r--r--sql/ha_heap.cc2
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