~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/opt_range.h

Giant merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
212
212
      0     Ok
213
213
      other Error
214
214
  */
215
 
  virtual int init_ror_merged_scan(bool reuse_handler __attribute__((__unused__)))
 
215
  virtual int init_ror_merged_scan(bool reuse_handler __attribute__((unused)))
216
216
  { assert(0); return 1; }
217
217
 
218
218
  /*
234
234
    This function is implemented only by quick selects that merge other quick
235
235
    selects output and/or can produce output suitable for merging.
236
236
  */
237
 
  virtual void add_info_string(String *str __attribute__((__unused__))) {};
 
237
  virtual void add_info_string(String *str __attribute__((unused))) {};
238
238
  /*
239
239
    Return 1 if any index used by this quick select
240
240
    uses field which is marked in passed bitmap.
335
335
  /* Used only by QUICK_SELECT_DESC */
336
336
  QUICK_RANGE_SELECT(const QUICK_RANGE_SELECT& org) : QUICK_SELECT_I()
337
337
  {
338
 
    bcopy(&org, this, sizeof(*this));
 
338
    memmove(this, &org, sizeof(*this));
339
339
    /* 
340
340
      Use default MRR implementation for reverse scans. No table engine
341
341
      currently can do an MRR scan with output in reverse index order.