~stewart/drizzle/nofrm

« back to all changes in this revision

Viewing changes to drizzled/opt_range.cc

  • Committer: Stewart Smith
  • Date: 2009-02-22 06:28:04 UTC
  • mfrom: (869.1.29 drizzle)
  • Revision ID: stewart@flamingspork.com-20090222062804-ssplgcffmroxwjph
mergeĀ mainline

Show diffs side-by-side

added added

removed removed

Lines of Context:
1498
1498
int QUICK_ROR_UNION_SELECT::init()
1499
1499
{
1500
1500
  if (init_queue(&queue, quick_selects.elements, 0,
1501
 
                 false , QUICK_ROR_UNION_SELECT::queue_cmp,
 
1501
                 false, quick_ror_union_select_queue_cmp,
1502
1502
                 (void*) this))
1503
1503
  {
1504
1504
    memset(&queue, 0, sizeof(QUEUE));
1523
1523
      val2  Second merged select
1524
1524
*/
1525
1525
 
1526
 
int QUICK_ROR_UNION_SELECT::queue_cmp(void *arg, unsigned char *val1, unsigned char *val2)
 
1526
int quick_ror_union_select_queue_cmp(void *arg, unsigned char *val1, unsigned char *val2)
1527
1527
{
1528
1528
  QUICK_ROR_UNION_SELECT *self= (QUICK_ROR_UNION_SELECT*)arg;
1529
1529
  return self->head->file->cmp_ref(((QUICK_SELECT_I*)val1)->last_rowid,