~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to plugin/memory/hp_rprev.cc

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
#include "heap_priv.h"
17
17
 
18
18
#include <string.h>
 
19
#include <drizzled/error_t.h>
19
20
 
20
21
using namespace drizzled;
21
22
 
26
27
{
27
28
  unsigned char *pos;
28
29
  HP_SHARE *share=info->getShare();
29
 
  HP_KEYDEF *keyinfo;
30
30
 
31
31
  if (info->lastinx < 0)
32
32
    return(errno=HA_ERR_WRONG_INDEX);
33
 
  keyinfo = share->keydef + info->lastinx;
34
33
  {
35
34
    if (info->current_ptr || (info->update & HA_STATE_NEXT_FOUND))
36
35
    {