summaryrefslogtreecommitdiff
path: root/sql/ha_heap.cc
diff options
context:
space:
mode:
authorunknown <igor@rurik.mysql.com>2006-04-01 02:57:56 -0800
committerunknown <igor@rurik.mysql.com>2006-04-01 02:57:56 -0800
commita5abc598e5efe21b3599e6f4fda9ab02f6194be3 (patch)
treede80900626c18453d590c01fd12d6b92f474cdeb /sql/ha_heap.cc
parentd5db81aa34da471ab1f4cd84317e85ec83f42fdf (diff)
parentf0bfea2bb0789bd5bcd2a8d85c42dd310e245d1a (diff)
downloadmariadb-git-a5abc598e5efe21b3599e6f4fda9ab02f6194be3.tar.gz
Merge rurik.mysql.com:/home/igor/dev/mysql-5.0-0
into rurik.mysql.com:/home/igor/dev/mysql-5.1-0 mysql-test/r/ctype_utf8.result: Auto merged mysql-test/r/func_gconcat.result: Auto merged mysql-test/r/subselect.result: Auto merged sql/field.cc: Auto merged sql/ha_heap.cc: Auto merged sql/item.cc: Auto merged sql/item_cmpfunc.cc: Auto merged sql/item_sum.cc: Auto merged sql/mysql_priv.h: Auto merged sql/sql_class.h: Auto merged sql/sql_select.cc: Auto merged sql/sql_table.cc: Auto merged storage/myisam/mi_search.c: Auto merged storage/ndb/tools/Makefile.am: Auto merged strings/ctype-ucs2.c: Auto merged tests/mysql_client_test.c: Auto merged
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 fc5cf8bbd2c..f20dfe259fb 100644
--- a/sql/ha_heap.cc
+++ b/sql/ha_heap.cc
@@ -561,7 +561,7 @@ ha_rows ha_heap::records_in_range(uint inx, key_range *min_key,
return records;
/* Assert that info() did run. We need current statistics here. */
- DBUG_ASSERT(key_stat_version);
+ DBUG_ASSERT(key_stat_version == file->s->key_stat_version);
return key->rec_per_key[key->key_parts-1];
}