~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.cc

  • 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:
2061
2061
  RETURN VALUE
2062
2062
    0 on success, non-zero otherwise
2063
2063
*/
2064
 
void Select_Lex::add_index_hint(Session *session, const char *str, uint32_t length)
 
2064
void Select_Lex::add_index_hint(Session *session, const char *str)
2065
2065
{
2066
 
  index_hints->push_front(new (session->mem_root) Index_hint(current_index_hint_type, current_index_hint_clause, str, length));
 
2066
  index_hints->push_front(new (session->mem_root) Index_hint(current_index_hint_type, current_index_hint_clause, str));
2067
2067
}
2068
2068
 
2069
2069
message::AlterTable *LEX::alter_table()