summaryrefslogtreecommitdiff
path: root/sql/ha_heap.cc
diff options
context:
space:
mode:
authorunknown <ram@gw.udmsearch.izhnet.ru>2002-04-29 13:53:29 +0500
committerunknown <ram@gw.udmsearch.izhnet.ru>2002-04-29 13:53:29 +0500
commit234dc3a35e8ae7f63aa6d3b7891b72e735728639 (patch)
tree77b9ea9e8c3560b6e82eaad873f24e15f519602d /sql/ha_heap.cc
parent3adee5046d70aa91fead16c289dd2a1b098b3dfd (diff)
downloadmariadb-git-234dc3a35e8ae7f63aa6d3b7891b72e735728639.tar.gz
Index number argument
Fix in test results heap/hp_rfirst.c: Index number argument heap/hp_rlast.c: Index number argument heap/hp_test2.c: Index number argument include/heap.h: Index number argument mysql-test/r/heap_btree.result: Test results fix sql/ha_heap.cc: Index number argument
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 1abaa63de68..43485a97fe3 100644
--- a/sql/ha_heap.cc
+++ b/sql/ha_heap.cc
@@ -189,7 +189,7 @@ int ha_heap::index_prev(byte * buf)
int ha_heap::index_first(byte * buf)
{
statistic_increment(ha_read_first_count,&LOCK_status);
- int error=heap_rfirst(file, buf);
+ int error=heap_rfirst(file, buf, active_index);
table->status=error ? STATUS_NOT_FOUND: 0;
return error;
}
@@ -197,7 +197,7 @@ int ha_heap::index_first(byte * buf)
int ha_heap::index_last(byte * buf)
{
statistic_increment(ha_read_last_count,&LOCK_status);
- int error=heap_rlast(file, buf);
+ int error=heap_rlast(file, buf, active_index);
table->status=error ? STATUS_NOT_FOUND: 0;
return error;
}