mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Stupid bug has been fixed
This commit is contained in:
@@ -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)
|
|||||||
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;
|
||||||
|
Reference in New Issue
Block a user