Merge work:/home/bk/mysql
into sergbook.mysql.com:/usr/home/serg/Abk/mysql
This commit is contained in:
commit
9eef017c57
@ -25,6 +25,9 @@ int myrg_rnext(MYRG_INFO *info, byte *buf, int inx)
|
|||||||
int err;
|
int err;
|
||||||
MI_INFO *mi;
|
MI_INFO *mi;
|
||||||
|
|
||||||
|
if (!info->current_table)
|
||||||
|
return (HA_ERR_KEY_NOT_FOUND);
|
||||||
|
|
||||||
/* at first, do rnext for the table found before */
|
/* at first, do rnext for the table found before */
|
||||||
if ((err=mi_rnext(info->current_table->table,NULL,inx)))
|
if ((err=mi_rnext(info->current_table->table,NULL,inx)))
|
||||||
{
|
{
|
||||||
|
@ -25,6 +25,9 @@ int myrg_rprev(MYRG_INFO *info, byte *buf, int inx)
|
|||||||
int err;
|
int err;
|
||||||
MI_INFO *mi;
|
MI_INFO *mi;
|
||||||
|
|
||||||
|
if (!info->current_table)
|
||||||
|
return (HA_ERR_KEY_NOT_FOUND);
|
||||||
|
|
||||||
/* at first, do rprev for the table found before */
|
/* at first, do rprev for the table found before */
|
||||||
if ((err=mi_rprev(info->current_table->table,NULL,inx)))
|
if ((err=mi_rprev(info->current_table->table,NULL,inx)))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user