~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/quick_index_merge_select.cc

Merge in stewart

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
  /* index_merge currently doesn't support "using index" at all */
178
178
  cursor->extra(HA_EXTRA_NO_KEYREAD);
179
179
  /* start table scan */
180
 
  read_record.init_read_record(session, head, (optimizer::SqlSelect*) 0, 1, 1);
 
180
  if ((result= read_record.init_read_record(session, head, (optimizer::SqlSelect*) 0, 1, 1)))
 
181
  {
 
182
    head->print_error(result, MYF(0));
 
183
    return 0;
 
184
  }
181
185
  return result;
182
186
}
183
187