~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cursor.h

  • Committer: Brian Aker
  • Date: 2010-05-20 17:33:40 UTC
  • mto: This revision was merged to the branch mainline in revision 1553.
  • Revision ID: brian@gaz-20100520173340-4giiuc3xosq2fx1m
This 1) fixes issue of reset()   2) uses a better cache design to decrease
alloc calls.

Show diffs side-by-side

added added

removed removed

Lines of Context:
388
388
  int compare_key(key_range *range);
389
389
  virtual int rnd_next(unsigned char *)=0;
390
390
  virtual int rnd_pos(unsigned char *, unsigned char *)=0;
391
 
  /**
392
 
    One has to use this method when to find
393
 
    random position by record as the plain
394
 
    position() call doesn't work for some
395
 
    handlers for random position.
396
 
  */
397
 
  virtual int rnd_pos_by_record(unsigned char *record);
398
391
  virtual int read_first_row(unsigned char *buf, uint32_t primary_key);
399
392
  virtual int rnd_same(unsigned char *, uint32_t)
400
393
    { return HA_ERR_WRONG_COMMAND; }