~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cursor.h

  • Committer: Brian Aker
  • Date: 2010-05-20 18:55:16 UTC
  • mfrom: (1552.1.2 new-staging)
  • Revision ID: brian@gaz-20100520185516-gcr6tl3tm6v71kb5
Merge Brian, includes work to move all TableShare to being newed, introduced
placeholder to be used for placeholders. This also includes a number of bug
fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
161
161
  unsigned char *ref;                           /* Pointer to current row */
162
162
  unsigned char *dup_ref;                       /* Pointer to duplicate row */
163
163
 
 
164
  TableShare *getShare() const
 
165
  {
 
166
    return table_share;
 
167
  }
 
168
 
164
169
  ha_statistics stats;
165
170
  /** MultiRangeRead-related members: */
166
171
  range_seq_t mrr_iter;    /* Interator to traverse the range sequence */
383
388
  int compare_key(key_range *range);
384
389
  virtual int rnd_next(unsigned char *)=0;
385
390
  virtual int rnd_pos(unsigned char *, unsigned char *)=0;
386
 
  /**
387
 
    One has to use this method when to find
388
 
    random position by record as the plain
389
 
    position() call doesn't work for some
390
 
    handlers for random position.
391
 
  */
392
 
  virtual int rnd_pos_by_record(unsigned char *record);
393
391
  virtual int read_first_row(unsigned char *buf, uint32_t primary_key);
394
392
  virtual int rnd_same(unsigned char *, uint32_t)
395
393
    { return HA_ERR_WRONG_COMMAND; }