~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/memory/hp_rprev.cc

  • Committer: Olaf van der Spek
  • Date: 2011-10-24 21:23:54 UTC
  • mto: This revision was merged to the branch mainline in revision 2449.
  • Revision ID: olafvdspek@gmail.com-20111024212354-j32gbc2sbsw0985q
Use str_ref

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
    {