~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/opt_range.cc

  • Committer: Jay Pipes
  • Date: 2009-11-19 18:58:35 UTC
  • mto: (1223.1.2 push)
  • mto: This revision was merged to the branch mainline in revision 1224.
  • Revision ID: jpipes@serialcoder-20091119185835-o59wyfjiet3keutu
Fixes some valgrind warnings regarding conditionals depending on unintialized variables.  Use initializer lists properly, dang it. :) Also, removed the new_Cached_item() function's use_result_field, as this was only used for views and was producing a valgrind warning unnecessarily.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3666
3666
    {
3667
3667
      ha_rows found_records;
3668
3668
      COST_VECT cost;
3669
 
      double found_read_time;
 
3669
      double found_read_time= 0.0;
3670
3670
      uint32_t mrr_flags, buf_size;
3671
3671
      uint32_t keynr= param->real_keynr[idx];
3672
3672
      if ((*key)->type == SEL_ARG::MAYBE_KEY ||