Commit 17204b1c authored by ram@ram.(none)'s avatar ram@ram.(none)

Stupid bug has been fixed

parent 5d62bde7
...@@ -24,6 +24,7 @@ int heap_rfirst(HP_INFO *info, byte *record, int inx) ...@@ -24,6 +24,7 @@ int heap_rfirst(HP_INFO *info, byte *record, int inx)
HP_KEYDEF *keyinfo = share->keydef + inx; HP_KEYDEF *keyinfo = share->keydef + inx;
DBUG_ENTER("heap_rfirst"); DBUG_ENTER("heap_rfirst");
info->lastinx= inx;
if (keyinfo->algorithm == HA_KEY_ALG_BTREE) if (keyinfo->algorithm == HA_KEY_ALG_BTREE)
{ {
byte *pos; byte *pos;
......
...@@ -25,6 +25,7 @@ int heap_rlast(HP_INFO *info, byte *record, int inx) ...@@ -25,6 +25,7 @@ int heap_rlast(HP_INFO *info, byte *record, int inx)
HP_KEYDEF *keyinfo= share->keydef + inx; HP_KEYDEF *keyinfo= share->keydef + inx;
DBUG_ENTER("heap_rlast"); DBUG_ENTER("heap_rlast");
info->lastinx= inx;
if (keyinfo->algorithm == HA_KEY_ALG_BTREE) if (keyinfo->algorithm == HA_KEY_ALG_BTREE)
{ {
byte *pos; byte *pos;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment