summaryrefslogtreecommitdiff
path: root/sql/ha_heap.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-04-06 17:22:21 +0300
committermonty@mysql.com <>2005-04-06 17:22:21 +0300
commit49e721677f9eec2ae8e869dacc8acb522f72ef05 (patch)
treee94c78c8db8d7f6ca96a83d37f1af529688c9a72 /sql/ha_heap.cc
parent48de1ff27744c996d7f3b63e4b75eeaeb96c9f0c (diff)
downloadmariadb-git-49e721677f9eec2ae8e869dacc8acb522f72ef05.tar.gz
Fixed errors descovered by valgrind 2.4
Added suppression file for some valgrind warnings that are not real errors
Diffstat (limited to 'sql/ha_heap.cc')
-rw-r--r--sql/ha_heap.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/ha_heap.cc b/sql/ha_heap.cc
index de51fad4365..0d700f6c9a5 100644
--- a/sql/ha_heap.cc
+++ b/sql/ha_heap.cc
@@ -548,6 +548,7 @@ int ha_heap::create(const char *name, TABLE *table_arg,
hp_create_info.auto_increment= (create_info->auto_increment_value ?
create_info->auto_increment_value - 1 : 0);
hp_create_info.max_table_size=current_thd->variables.max_heap_table_size;
+ hp_create_info.with_auto_increment= found_real_auto_increment;
max_rows = (ha_rows) (hp_create_info.max_table_size / mem_per_row);
error= heap_create(fn_format(buff,name,"","",4+2),
keys, keydef, share->reclength,