~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/index_hint.h

  • Committer: Olaf van der Spek
  • Date: 2011-08-15 15:27:42 UTC
  • mto: This revision was merged to the branch mainline in revision 2408.
  • Revision ID: olafvdspek@gmail.com-20110815152742-ydpj5sj78t1v248o
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
  */
67
67
  const char* key_name;
68
68
 
69
 
  Index_hint(index_hint_type type_arg, index_clause_map clause_arg, const char *str, uint32_t) :
70
 
    type(type_arg), clause(clause_arg)
 
69
  Index_hint(index_hint_type type_arg, index_clause_map clause_arg, const char *str) :
 
70
    type(type_arg), clause(clause_arg), key_name(str)
71
71
  {
72
 
    // key_name.str= const_cast<char*>(str);
73
 
    // key_name.length= length;
74
 
    key_name= str;
75
72
  }
76
73
 
77
 
  void print(String&);
 
74
  void print(String&) const;
78
75
};
79
76
 
80
77
} /* namespace drizzled */