~clint-fewbar/drizzle/regex-policy-cache-limiter

« back to all changes in this revision

Viewing changes to plugin/memory/hp_rprev.cc

  • Committer: Clint Byrum
  • Date: 2012-03-15 18:05:43 UTC
  • mfrom: (2224.1.302 workspace)
  • Revision ID: clint@ubuntu.com-20120315180543-9jxxm4q10k3np2ws
merging with latest trunk

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
    {