summaryrefslogtreecommitdiff
path: root/sql/ha_myisammrg.cc
diff options
context:
space:
mode:
authorserg@serg.mysql.com <>2002-11-25 22:18:44 +0100
committerserg@serg.mysql.com <>2002-11-25 22:18:44 +0100
commit5b57077778d3940d5e35061db4d38f1599fa0774 (patch)
tree02a55f44bad9f485e0d76216a95e10c2aafa692c /sql/ha_myisammrg.cc
parent1c8e36d5d4d3968077b1a4f2bf7749d32f594d2e (diff)
downloadmariadb-git-5b57077778d3940d5e35061db4d38f1599fa0774.tar.gz
myisammrg::index_next_same
Diffstat (limited to 'sql/ha_myisammrg.cc')
-rw-r--r--sql/ha_myisammrg.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/ha_myisammrg.cc b/sql/ha_myisammrg.cc
index 07683dca73e..4398aaecf4d 100644
--- a/sql/ha_myisammrg.cc
+++ b/sql/ha_myisammrg.cc
@@ -160,6 +160,16 @@ int ha_myisammrg::index_last(byte * buf)
return error;
}
+int ha_myisammrg::index_next_same(byte * buf,
+ const byte *key __attribute__((unused)),
+ uint length __attribute__((unused)))
+{
+ statistic_increment(ha_read_next_count,&LOCK_status);
+ int error=myrg_rnext_same(file,buf);
+ table->status=error ? STATUS_NOT_FOUND: 0;
+ return error;
+}
+
int ha_myisammrg::rnd_init(bool scan)
{
return myrg_extra(file,HA_EXTRA_RESET,0);