~posulliv/drizzle/memcached_applier

« back to all changes in this revision

Viewing changes to drizzled/opt_range.cc

Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
    return static_cast<ha_rows>(x);
132
132
}
133
133
 
 
134
extern "C" int refpos_order_cmp(void* arg, const void *a,const void *b)
 
135
{
 
136
  handler *file= (handler*)arg;
 
137
  return file->cmp_ref((const unsigned char*)a, (const unsigned char*)b);
 
138
}
 
139
 
134
140
static int sel_cmp(Field *f,unsigned char *a,unsigned char *b,uint8_t a_flag,uint8_t b_flag);
135
141
 
136
142
static unsigned char is_null_string[2]= {1,0};