~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_rlast.c

Renamed more stuff to drizzle.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
 
#include "myisam_priv.h"
 
16
#include "myisamdef.h"
17
17
 
18
18
        /* Read last row with the same key as the previous read. */
19
19
 
20
 
int mi_rlast(MI_INFO *info, unsigned char *buf, int inx)
 
20
int mi_rlast(MI_INFO *info, uchar *buf, int inx)
21
21
{
 
22
  DBUG_ENTER("mi_rlast");
22
23
  info->lastpos= HA_OFFSET_ERROR;
23
24
  info->update|= HA_STATE_NEXT_FOUND;
24
 
  return(mi_rprev(info,buf,inx));
 
25
  DBUG_RETURN(mi_rprev(info,buf,inx));
25
26
} /* mi_rlast */