~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cursor.cc

  • Committer: Brian Aker
  • Date: 2010-06-03 09:06:27 UTC
  • mto: (1578.6.10 explain-drizzle)
  • mto: This revision was merged to the branch mainline in revision 1589.
  • Revision ID: brian@gir-2.local-20100603090627-6doyyne204s9wo1r
PAss through the code removing current_session

Show diffs side-by-side

added added

removed removed

Lines of Context:
918
918
  range_seq_t seq_it;
919
919
  ha_rows rows, total_rows= 0;
920
920
  uint32_t n_ranges=0;
921
 
  Session *session= current_session;
922
921
 
923
922
  /* Default MRR implementation doesn't need buffer */
924
923
  *bufsz= 0;
926
925
  seq_it= seq->init(seq_init_param, n_ranges, *flags);
927
926
  while (!seq->next(seq_it, &range))
928
927
  {
929
 
    if (unlikely(session->killed != 0))
930
 
      return HA_POS_ERROR;
931
 
 
932
928
    n_ranges++;
933
929
    key_range *min_endp, *max_endp;
934
930
    {